https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104027
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kenner at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Indeed. If the FE emitted something registered with the middle-end symtab, best would be to remove those again, if not, just arranging for return into the caller seems much better than exiting. It isn't just .note.GNU-stack on Linux, but e.g. plugin hooks won't be called etc.