------- Comment #5 from jakub at gcc dot gnu dot org 2010-07-30 09:40 ------- Confirmed, this seems to be sched1 fault. In bb5 we have 2 normal insns, followed by (-g only) a debug_insn, followed by two NOTE_INSN_DELETED created by combine (do we ever remove these from the IL?), followed again (-g only) by debug_insn and then other insns. sched1 moves those two NOTE_INSN_DELETED in -g case to the start of the block, keeps them where they were otherwise.
Alex, can you please have a look? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45136