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: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2005 00:57:26 -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 steven at gcc dot gnu dot org 2005-03-16 00:57 -------
I really doubt my patch is to blame for this. This patch has been on
the hammer branch for ages, so it was in the system compiler of every
SUSE distribution released in the last 2 years.
Probably SMS is not updating something correctly. Hard to tell what,
unfortunately, because the SMS dump is not very good (does not dump
RTL with basic blocks, see patch below, and it dumps *before* updating
liveness).
Index: passes.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/passes.c,v
retrieving revision 2.73
diff -u -r2.73 passes.c
--- passes.c 1 Mar 2005 13:44:45 -0000 2.73
+++ passes.c 16 Mar 2005 00:54:13 -0000
@@ -577,7 +577,7 @@
/* We want to be able to create new pseudos. */
no_new_pseudos = 0;
sms_schedule (dump_file);
- close_dump_file (DFI_sms, print_rtl, get_insns ());
+ close_dump_file (DFI_sms, print_rtl_with_bb, get_insns ());
/* Update the life information, because we add pseudos. */
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20177