http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46671
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-06 12:47:25 UTC --- sdbout.c is broken then. If it doesn't care in which code section it emits the stuff, it should at least not switch_to_section (text_section) if in_section != NULL && (in_section->flags & SECTION_CODE) != 0. And in any case, it should remember in_section from the beginning of the function into say saved_section automatic var and if it was non-NULL, do switch_to_section (saved_section) at the end of the function.