------- Additional Comments From janis at gcc dot gnu dot org 2005-03-16 22:49 ------- There are now two separate bugs being discussed in this PR. The first bug is an ICE in schedule_insns at sched-rgn.c:2549. This still exists in mainline even with Mostafa's patch from comment 13. I now see this ICE when compiling all but three of the tests in SPEC CPU2000 on powerpc64-linux with "-O2 -fmodulo-sched" and with either -m32 or -m64. All of the test cases mentioned in the original bug description also still get that ICE with mainline plus the patch when compiled with -O2 -fmodulo-sched. They start failing sometime between 20050214 and 20050221, so the bug might have been exposed by the same patch that exposed the second bug. The second bug is the internal consistency failure as shown by the test cases added in comments 3 and 6. The patch from comment 13 fixes this for both mainline and 4.0-branch. There is now only one build failure for SPEC CPU2000 with -O2 -fmodulo-sched: the build of gap with -m32 gets a segfault, which I'll report separately when I know more about it.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20177