This sounds like a duplicate of PR 24908 but it's not!

Compiling mesa from SPEC CPU2000 with "-m32 -O2 -funroll-loops -g" with a
biarch powerpc64-linux compiler results in:

elm3b11% /opt/gcc-nightly/4.1/bin/gcc -c -O2 -funroll-loops -g triangle.c
triangle.c: In function ‘lambda_textured_triangle’:
triangle.c:694: internal compiler error: in dwarf2out_frame_debug_expr, at
dwarf2out.c:1585
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This is for current trunk and the 4.1 branch.  The failure happens even with
Alan's patch for 24908, although that patch fixes the other failures I had
seen in cpu2000 tests.

This failure begins with this patch, a fix for PR rtl-optimization/23392:

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

  r107059 | amodra | 2005-11-16 00:22:15 +0000 (Wed, 16 Nov 2005)

The source file is resisting my attempts to minimize it.

I don't get this ICE with a powerpc-linux compiler, only a biarch compiler.


-- 
           Summary: ICE in dwarf2out for mesa with -O2 -funroll-loops -g
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        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=25194

Reply via email to