------- Comment #16 from pinskia at gcc dot gnu dot org 2005-11-11 19:01 ------- The problem is that dwarf2out_switch_text_section does not get called as the debug_hooks are set to none.
So the handling of NOTE_INSN_SWITCH_TEXT_SECTIONS is slightly wrong for this case. Looking more into it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313