Bug 52797 - [4.8 Regression] Revision 185913 causes ICE in get_loop_body, at cfgloop.c:831 on PowerPC
Summary: [4.8 Regression] Revision 185913 causes ICE in get_loop_body, at cfgloop.c:83...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: 4.8.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-30 21:00 UTC by Pat Haugen
Modified: 2012-04-03 09:41 UTC (History)
5 users (show)

See Also:
Host: powerpc*-*-*
Target: powerpc*-*-*
Build: powerpc*-*-*
Known to work:
Known to fail:
Last reconfirmed: 2012-03-30 00:00:00


Attachments
Preprocessed file streambuf.ii (37.70 KB, text/plain)
2012-03-30 21:16 UTC, Dominique d'Humieres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Haugen 2012-03-30 21:00:31 UTC
ICE during build of libstdc++.

/home/pthaugen/src/gcc/trunk/gcc/libstdc++-v3/src/c++98/streambuf.cc:113:5: internal compiler error: in get_loop_body, at cfgloop.c:831
Please submit a full bug report,


Config command used:

/home/pthaugen/src/gcc/trunk/gcc/configure --prefix=/home/pthaugen/install/gcc/trunk --target=powerpc64-linux --host=powerpc64-linux --build=powerpc64-linux --enable-secureplt --enable-threads=posix --enable-shared --enable-__cxa_atexit --with-long-double-128 --enable-decimal-float --disable-alsa --enable-checking --with-lto --with-as=/home/pthaugen/install/binutils/binutils-2.21.1/bin/as --with-ld=/home/pthaugen/install/binutils/binutils-2.21.1/bin/ld --with-gmp=/home/pthaugen/install/gcc-host-libs --with-mpfr=/home/pthaugen/install/gcc-host-libs --with-mpc=/home/pthaugen/install/gcc-host-libs --with-ppl=/home/pthaugen/install/gcc-host-libs --with-cloog=/home/pthaugen/install/gcc-host-libs --with-host-libstdcxx=-Wl,-Bstatic,-L/home/pthaugen/install/gcc-host-libs/lib,-lstdc++,-Bdynamic,-lm --enable-languages=c,fortran,c++ --disable-bootstrap
Comment 1 Dominique d'Humieres 2012-03-30 21:15:17 UTC
Confirmed on powerpc-apple-darwin9. Compiling the preprocessed code with '-O2 -m64' gives the ICE, but not when using '-O2' nor '-O1 -m64'.
Comment 2 Dominique d'Humieres 2012-03-30 21:16:28 UTC
Created attachment 27049 [details]
Preprocessed file streambuf.ii
Comment 3 Dominique d'Humieres 2012-03-31 15:16:18 UTC
The error is the same as in pr52808.
Comment 4 David Edelsohn 2012-04-01 23:05:07 UTC
powerpc-aix as well.
Comment 5 Dominique d'Humieres 2012-04-03 09:07:46 UTC
I successfully bootstrapped revision 186090 on powerpc-apple-darwin9. From http://gcc.gnu.org/ml/gcc-testresults/2012-04/msg00234.html it seems also fixed for powerpc64-unknown-linux-gnu. So this PR could probably closed as fixed.
Comment 6 Richard Biener 2012-04-03 09:41:54 UTC
Fixed then.