[Bug tree-optimization/17606] New: [4.0 Regression] ICE in reload_cse_simplify_operands, at postreload.c:391

micis at gmx dot de gcc-bugzilla@gcc.gnu.org
Wed Sep 22 11:10:00 GMT 2004


I compiled snapshot gcc-4.0-20040919.tar.bz2 and tried that compiler at our 
application. I get an ICE which occurs only at -O1 and above, not at -O0.

There are similar reports in bugzilla:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13186 is marked resolved/fixed

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13674 is marked new with a comment 
from Andrew Pinski 2004-06-11: Hmm, I can no longer reproduce it with the 
testcases provided but I know that this is still a bug.

I can't judge whether this bug is a duplicate of 13674 or not, therefore I 
enter it as a new bug report.

Michael Cieslinski


/usr/local/gcc40/bin/g++40 -c -g -O2 -mcpu=G5 -maltivec -mabi=altivec -o 
gccbug.o gccbug.ii -v
Reading specs from /usr/local/gcc40/lib/gcc/powerpc-unknown-linux-
gnu/4.0.0/specs
Configured with: ../gcc40/configure --prefix=/usr/local/gcc40 --program-
suffix=40 --with-cpu=G5 --enable-altivec --enable-languages=c,c++ --enable-
checking
Thread model: posix
gcc version 4.0.0 20040919 (experimental)
 /usr/local/gcc40/libexec/gcc/powerpc-unknown-linux-gnu/4.0.0/cc1plus -
fpreprocessed gccbug.ii -quiet -dumpbase gccbug.ii -mcpu=G5 -maltivec -
mabi=altivec -auxbase-strip gccbug.o -g -O2 -version -o /tmp/ccCc3LJn.s
GNU C++ version 4.0.0 20040919 (experimental) (powerpc-unknown-linux-gnu)
        compiled by GNU C version 4.0.0 20040919 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
gccbug.cpp: In function `int WrkDP(short unsigned int (*)[123], short unsigned 
int (*)[123], short unsigned int (*)[123], unsigned char (*)[123], IntPair, 
AParT, int)':
gccbug.cpp:162: error: insn does not satisfy its constraints:
(insn 1136 1090 1135 0 (set (reg:DI 32 0)
        (const_int 0 [0x0])) 276 {*movdi_internal32} (nil)
    (nil))
gccbug.cpp:162: internal compiler error: in reload_cse_simplify_operands, at 
postreload.c:391

-- 
           Summary: [4.0 Regression] ICE in reload_cse_simplify_operands, at
                    postreload.c:391
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: micis at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux-gnu
  GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-gnu


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



More information about the Gcc-bugs mailing list