http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48053
Summary: ICE in in build_int_cst_wide, when building cpu2000 galgel/equake/ammp/fma3d/sixtrack Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: pthau...@gcc.gnu.org CC: d...@gcc.gnu.org, berg...@gcc.gnu.org, meiss...@gcc.gnu.org Host: powerpc64-linux Target: powerpc64-linux Build: powerpc64-linux Created attachment 23609 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23609 reduced testcase The following ICE just showed up on my nightly spec runs. $ /home/pthaugen/install/gcc/trunk_debug/bin/gcc -c -m64 -O3 -mcpu=power7 -funroll-loops quake.c quake.c: In function ‘main’: quake.c:24:1: internal compiler error: in build_int_cst_wide, at tree.c:1226 $ /home/pthaugen/install/gcc/trunk_debug/bin/gcc -v Using built-in specs. COLLECT_GCC=/home/pthaugen/install/gcc/trunk_debug/bin/gcc COLLECT_LTO_WRAPPER=/home/pthaugen/install/gcc/trunk_debug/libexec/gcc/powerpc64-linux/4.6.0/lto-wrapper Target: powerpc64-linux Configured with: /home/pthaugen/src/gcc/trunk/gcc/configure --prefix=/home/pthaugen/install/gcc/trunk_debug --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-as=/opt/gcc-nightly/binutils-2.20/bin/as --with-ld=/opt/gcc-nightly/binutils-2.20/bin/ld --with-lto --with-libelf=/opt/gcc-nightly/gcc-host-libs --with-gmp=/opt/gcc-nightly/gcc-host-libs --with-mpfr=/opt/gcc-nightly/gcc-host-libs --with-mpc=/opt/gcc-nightly/gcc-host-libs --enable-languages=c --disable-bootstrap Thread model: posix gcc version 4.6.0 20110309 (experimental) [trunk revision 170818] (GCC) Breakpoint 1, build_int_cst_wide (type=0xfffb0f011b8, low=18446744073709551615, hi=-1) at /home/pthaugen/src/gcc/trunk/gcc/gcc/tree.c:1226 1226 gcc_unreachable (); (gdb) prt type <real_type 0xfffb0f011b8 double sizes-gimplified DF size <integer_cst 0xfffb0e10780 type <integer_type 0xfffb0f000a8 bit_size_type> constant 64> unit size <integer_cst 0xfffb0e107a8 type <integer_type 0xfffb0f00000 long unsigned int> constant 8> align 64 symtab 0 alias set 2 canonical type 0xfffb0f011b8 precision 64 pointer_to_this <pointer_type 0xfffb0f013b0>> (gdb) p /x low $2 = 0xffffffffffffffff (gdb) p /x hi $3 = 0xffffffffffffffff (gdb) p TREE_CODE(type) $4 = REAL_TYPE (gdb) bt #0 build_int_cst_wide (type=0xfffb0f011b8, low=18446744073709551615, hi=-1) at /home/pthaugen/src/gcc/trunk/gcc/gcc/tree.c:1226 #1 0x00000000103c4120 in make_tree (type=0xfffb0f011b8, x=0xfffb0e70460) at /home/pthaugen/src/gcc/trunk/gcc/gcc/expmed.c:4960 #2 0x00000000103c4268 in make_tree (type=0xfffb10ceb98, x=0xfffb0e79430) at /home/pthaugen/src/gcc/trunk/gcc/gcc/expmed.c:4991 #3 0x0000000010bc5d7c in force_const_mem (mode=V2DFmode, x=0xfffb0e79430) at /home/pthaugen/src/gcc/trunk/gcc/gcc/varasm.c:3543 #4 0x00000000103d7230 in emit_move_insn (x=0xfffb0edba40, y=0xfffb0e79430) at /home/pthaugen/src/gcc/trunk/gcc/gcc/expr.c:3368 #5 0x0000000010bea40c in rs6000_expand_vector_init (target=0xfffb0edba40, vals=0xfffb0e79420) at /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/rs6000.c:5299 #6 0x0000000010e20898 in gen_vec_initv4si (operand0=0xfffb0edba40, operand1=0xfffb0e79420) at /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/vector.md:658 #7 0x0000000010e2630c in gen_split_2212 (curr_insn=0xfffb10097e0, operands=0x1160a8b8) at /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/altivec.md:246 #8 0x0000000010f3e460 in split_14 (x0=0xfffb0e99930, insn=0xfffb10097e0) at /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/altivec.md:229 #9 0x0000000010f404f0 in split_insns (x0=0xfffb0e99930, insn=0xfffb10097e0) at /home/pthaugen/src/gcc/trunk/gcc/gcc/config/rs6000/dfp.md:480 #10 0x000000001038c980 in try_split (pat=0xfffb0e99930, trial=0xfffb10097e0, last=1) at /home/pthaugen/src/gcc/trunk/gcc/gcc/emit-rtl.c:3415 #11 0x00000000106dcf9c in split_insn (insn=0xfffb10097e0) at /home/pthaugen/src/gcc/trunk/gcc/gcc/recog.c:2781 #12 0x00000000106dd5bc in split_all_insns () at /home/pthaugen/src/gcc/trunk/gcc/gcc/recog.c:2870 #13 0x00000000106e0700 in rest_of_handle_split_before_sched2 () at /home/pthaugen/src/gcc/trunk/gcc/gcc/recog.c:3811 ...