The testcase I'm going to attach gives an ICE when you compile like this: gcc -Os -c -o gcc-prdtoa-testcase.o gcc-prdtoa-testcase.c
problem occurs with -Os but _not_ with -O0, -O1, -O2, or -O3. Looks like some sort of infinite recursion with analyze_scaler_evolution(). This was as reduced as I could get the testcase. compiler version: $ gcc -v Reading specs from /usr/gcc4/lib/gcc/i686-pc-linux-gnu/4.0.0/specs Configured with: ../gcc/configure --prefix=/usr/gcc4 --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++ --disable-libgcj Thread model: posix gcc version 4.0.0 20041011 (experimental) -- Summary: ICE involving 'goto' to jump into loop Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bryner at brianryner dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17928