https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102450
--- Comment #7 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- (In reply to Richard Earnshaw from comment #6) > So I think we need a way of checking that this won't fail before we call it. > > Any idea? > > tree type = lang_hooks.types.type_for_size (ilen * 8, 1); Or alternatively, perhaps this should just return NULL if there is no such type, we already test for that. In which case this is a bug in the Ada type_for_size routine.