This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20177] ICE in schedule-insns for -O2 -fmodulo-sched
- From: "mustafa at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2005 12:05:47 -0000
- Subject: [Bug middle-end/20177] ICE in schedule-insns for -O2 -fmodulo-sched
- References: <20050223184602.20177.janis@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mustafa at il dot ibm dot com 2005-03-16 12:05 -------
After a bit more debugging I found out that the error caused due to copying the
REG_DEAD note with the instructions when we are generating the prologues and
epilogues in SMS. The REG_DEAD is correct in the inter-block view but not
inside the block; but update_live_info looks inside the blocks and verify the
information for each block and that where we are wrong.
The fix is to prevent us from copying the REG_DEAD note in such a case. We
should also look for other REG_ notes that we shouldn't be copying to
prologue/epilogue.
REG_USE for example should still be copies.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20177