http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49304
Summary: ICE: code_motion_path_driver, at sel-sched.c:6573 w/ -O3 on ia64 in r174558 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: phhargr...@lbl.gov Created attachment 24452 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24452 preprocessed source to reproduce This bug is similar to bug 49303 I entered earlier today. I suspect this shares a root cause with bug 49303 because minor changes to the source will produce the ICE reported in that bug rather than this one. On an ia64/Linux system I get an ICE from code that compiled fine with daily snapshot compilers for several months, but just recently broke. The problem is present at -O3 but not at lower optimization levels. $ /usr/local/bin/gcc -O3 -c -v -save-temps -DGASNET_SEQ -I/eng/home/PHHargrove/upc_runtime/g asnet/smp-conduit -I/eng/home/PHHargrove/upc_runtime/gasnet -I/eng/home/PHHargrove/upc_runtime/gasnet/BB -I/en g/home/PHHargrove/upc_runtime/gasnet/other -I/eng/home/PHHargrove/upc_runtime/gasnet/extended-ref -c tc2.c Using built-in specs. COLLECT_GCC=/usr/local/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/ia64-unknown-linux-gnu/4.7.0/lto-wrapper Target: ia64-unknown-linux-gnu Configured with: /eng/upc/dev/gary/gcc-trunk/src/configure --enable-languages=c,c++ --disable-bootstrap --disable-multilib --enable-checking=yes PREFIX=/usr/local/gcc-4-7-0-20110602 CC=/usr/bin/gcc CFLAGS='-g3 -O0' CXX=/ usr/bin/g++ CXXFLAGS='-g3 -O0' Thread model: posix gcc version 4.7.0 20110602 (experimental) (GCC) COLLECT_GCC_OPTIONS='-O3' '-c' '-v' '-save-temps' '-D' 'GASNET_SEQ' '-I' '/eng/home/PHHargrove/upc_runtime/gas net/smp-conduit' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet/ BB' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet/other' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet/extende d-ref' '-c' /usr/local/libexec/gcc/ia64-unknown-linux-gnu/4.7.0/cc1 -E -quiet -v -I /eng/home/PHHargrove/upc_runtime/gasn et/smp-conduit -I /eng/home/PHHargrove/upc_runtime/gasnet -I /eng/home/PHHargrove/upc_runtime/gasnet/BB -I /eng/home/PHHargrove/upc_runtime/gasnet/other -I /eng/home/PHHargrove/upc_runtime/gasnet/extended-ref -D GASNET_SEQ tc2.c -O3 -fpch-preprocess -o tc2.i ignoring nonexistent directory "/usr/local/lib/gcc/ia64-unknown-linux-gnu/4.7.0/../../../../ia64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /eng/home/PHHargrove/upc_runtime/gasnet/smp-conduit /eng/home/PHHargrove/upc_runtime/gasnet /eng/home/PHHargrove/upc_runtime/gasnet/BB /eng/home/PHHargrove/upc_runtime/gasnet/other /eng/home/PHHargrove/upc_runtime/gasnet/extended-ref /usr/local/lib/gcc/ia64-unknown-linux-gnu/4.7.0/include /usr/local/include /usr/local/lib/gcc/ia64-unknown-linux-gnu/4.7.0/include-fixed /usr/include End of search list. COLLECT_GCC_OPTIONS='-O3' '-c' '-v' '-save-temps' '-D' 'GASNET_SEQ' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet/smp-conduit' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet/BB' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet/other' '-I' '/eng/home/PHHargrove/upc_runtime/gasnet/extended-ref' '-c' /usr/local/libexec/gcc/ia64-unknown-linux-gnu/4.7.0/cc1 -fpreprocessed tc2.i -quiet -dumpbase tc2.c -auxbase tc2 -O3 -version -o tc2.s GNU C (GCC) version 4.7.0 20110602 (experimental) (ia64-unknown-linux-gnu) compiled by GNU C version 4.3.4 [gcc-4_3-branch revision 152973], GMP version 4.2.3, MPFR version 2.3.2, MPC version 0.8.1 warning: MPC header version 0.8.1 differs from library version 0.8. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C (GCC) version 4.7.0 20110602 (experimental) (ia64-unknown-linux-gnu) compiled by GNU C version 4.3.4 [gcc-4_3-branch revision 152973], GMP version 4.2.3, MPFR version 2.3.2, MPC version 0.8.1 warning: MPC header version 0.8.1 differs from library version 0.8. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 4a01790fb99ce2eacbb8779c8b3d3355 tc2.c: In function 'gasnete_coll_pf_bcast_TreePutScratch': tc2.c:67:1: internal compiler error: in code_motion_path_driver, at sel-sched.c:6573 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.