Tests gap and twolf from SPEC CPU2000 ICE when built on powerpc64-linux with
"-O2 -ftree-loop-linear" and either -m32 or -m64.  A third test, lucas, started
getting segfaults for those options at the same time.  A regression hunt using
a minimized testcase (to be attached) identified this patch:

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

    r112437 | spop | 2006-03-28 04:19:26 +0000 (Tue, 28 Mar 2006)

Output compiling the minimized testcase:

elm3b145% /opt/gcc-nightly/trunk/bin/gcc -O2 -ftree-loop-linear -c uloop.c
uloop.c: In function ‘foo’:
uloop.c:3: internal compiler error: vector VEC(ddr_p,base) index domain error,
in try_interchange_loops at tree-loop-linear.c:183
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in try_interchange_loops with -ftree-loop-linear
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc-linux


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

Reply via email to