GCC trunk gets a ICE when building SPEC CPU2000 test 175.vpr with "-O2
-fselective-scheduling -fsel-sched-pipelining -fsched-pressure" as demonstrated
by a minimized testcase that I'll attach to this PR.

elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gcc -c -O2
-fselective-scheduling -fsel-sched-pipelining -fsched-pressure bug.c
bug.c: In function ‘try_route’:
bug.c:83:1: internal compiler error: in advance_state_on_fence, at
sel-sched.c:5264
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The ICE begins with this patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=152291

    r152291 | pthaugen | 2009-09-29 18:58:56 +0000 (Tue, 29 Sep 2009)

Option -fsched-pressure is new in GCC 4.5 so this is not a regression from 4.4.


-- 
           Summary: ICE in advance_state_on_fence with sel-schd for 175.vpr
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42389

Reply via email to