This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/45136] -fcompare-debug failure with -Os -fschedule-insns
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2010 09:40:58 -0000
- Subject: [Bug rtl-optimization/45136] -fcompare-debug failure with -Os -fschedule-insns
- References: <bug-45136-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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