https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118329
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Currently there is: static void avr_init_builtin_int24 (void) { tree int24_type = make_signed_type (GET_MODE_BITSIZE (PSImode)); tree uint24_type = make_unsigned_type (GET_MODE_BITSIZE (PSImode)); lang_hooks.types.register_builtin_type (int24_type, "__int24"); lang_hooks.types.register_builtin_type (uint24_type, "__uint24"); } AFAIU, the definition for __int24 is no more needed with INT_N, but __uint24 should still work? Or just lang_hooks.types.register_builtin_type (uint24_type, "unsigned __int24");