http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55507
Bug #: 55507 Summary: [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8020 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Created attachment 28811 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28811 Preprocessed source libtool: compile: /home/dave/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/home/d ave/gnu/gcc/objdir/./gcc -nostdinc++ -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/ libstdc++-v3/src -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.li bs -B/home/dave/opt/gnu/gcc/gcc-4.8.0/hppa-linux-gnu/bin/ -B/home/dave/opt/gnu/g cc/gcc-4.8.0/hppa-linux-gnu/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.8.0/hppa- linux-gnu/include -isystem /home/dave/opt/gnu/gcc/gcc-4.8.0/hppa-linux-gnu/sys-i nclude -I/home/dave/gnu/gcc/gcc/libstdc++-v3/../libgcc -I/home/dave/gnu/gcc/objd ir/hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include -I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++ -D_GLIBCXX_SHARED -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=vec.lo -g -O2 -D_GNU_SOURCE -c ../../../../gcc/libstdc++-v3/libsupc++/vec.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o vec.o ../../../../gcc/libstdc++-v3/libsupc++/vec.cc: In function ‘void* __cxxabiv1::__cxa_vec_new(std::size_t, std::size_t, std::size_t, __cxxabiv1::__cxa_cdtor_type, __cxxabiv1::__cxa_cdtor_type)’: ../../../../gcc/libstdc++-v3/libsupc++/vec.cc:87:3: internal compiler error: in vt_expand_var_loc_chain, at var-tracking.c:8020 } ^ 0xde6693 vt_expand_var_loc_chain ../../gcc/gcc/var-tracking.c:8020 0xde727f vt_expand_loc_callback ../../gcc/gcc/var-tracking.c:8216 0x5a33b7 cselib_expand_value_rtx_1 ../../gcc/gcc/cselib.c:1683 0x5a363b cselib_expand_value_rtx_1 ../../gcc/gcc/cselib.c:1721 0x5a2dd7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def* (*)(rtx_def*, bitmap_head_def*, int, void*), void*) ../../gcc/gcc/cselib.c:1530 0xde67cb vt_expand_var_loc_chain ../../gcc/gcc/var-tracking.c:8054 0xde727f vt_expand_loc_callback ../../gcc/gcc/var-tracking.c:8216 0x5a33b7 cselib_expand_value_rtx_1 ../../gcc/gcc/cselib.c:1683 0x5a363b cselib_expand_value_rtx_1 ../../gcc/gcc/cselib.c:1721 0x5a2dd7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def* (*)(rtx_def*, bitmap_head_def*, int, void*), void*) ../../gcc/gcc/cselib.c:1530 0xde67cb vt_expand_var_loc_chain ../../gcc/gcc/var-tracking.c:8054 0xde727f vt_expand_loc_callback ../../gcc/gcc/var-tracking.c:8216 0x5a33b7 cselib_expand_value_rtx_1 ../../gcc/gcc/cselib.c:1683 0x5a2dd7 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def* (*)(rtx_def*, bitmap_head_def*, int, void*), void*) ../../gcc/gcc/cselib.c:1530 0xde67cb vt_expand_var_loc_chain ../../gcc/gcc/var-tracking.c:8054 0xde7943 vt_expand_1pvar ../../gcc/gcc/var-tracking.c:8331 0xde7c27 emit_note_insn_var_location ../../gcc/gcc/var-tracking.c:8385 0x109eb87 htab_traverse_noresize ../../gcc/libiberty/hashtab.c:784 193798 was ok. dave@mx3210:~/gnu/gcc/objdir/gcc$ ./xgcc -B./ -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa-linux-gnu Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared --enable-multiarch --with-multiarch-defaults=hppa-linux-gnu --enable-linker-build-id --build=hppa-linux-gnu --host=hppa-linux-gnu --target=hppa-linux-gnu --prefix=/home/dave/opt/gnu/gcc/gcc-4.8.0 --with-local-prefix=/home/dave/opt/gnu --enable-threads=posix --enable-__cxa_atexit --build=hppa-linux-gnu --enable-clocale=gnu --enable-java-gc=boehm --without-cloog --without-ppl --enable-languages=c,c++,objc,fortran,obj-c++,java,ada,lto : (reconfigured) ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared --enable-multiarch --with-multiarch-defaults=hppa-linux-gnu --enable-linker-build-id --build=hppa-linux-gnu --host=hppa-linux-gnu --target=hppa-linux-gnu --prefix=/home/dave/opt/gnu/gcc/gcc-4.8.0 --with-local-prefix=/home/dave/opt/gnu --enable-threads=posix --enable-__cxa_atexit --build=hppa-linux-gnu --enable-clocale=gnu --enable-java-gc=boehm --without-cloog --without-ppl --enable-languages=c,c++,objc,fortran,obj-c++,java,ada,lto Thread model: posix gcc version 4.8.0 20121128 (experimental) [trunk revision 193878] (GCC)