https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114727
--- Comment #5 from uecker at gcc dot gnu.org --- (In reply to Sam James from comment #3) > (In reply to Richard Biener from comment #2) > > Possibly type verification should be triggered from rest_of_type_compilation > > rather than from (only) gen_type_die_with_usage. > > Yeah, it's a shame to have these occasional issues where they only show up > with -g. I don't routinely build everything with -g so I may well miss > things. (Maybe I should start.) Note that I recently added some FE checking code which should catch some subset of problems earlier.