https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63740
Bug ID: 63740 Summary: GCC 4.9.2 bootstrap fails on ARM, haifa-sched.c:6507:1: internal compiler error: in lra_create Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: aaro.koskinen at iki dot fi GCC 4.9.2 native bootstrap on ARM fails with ICE from the second stage compiler: /home/aaro/gcctest/build/./prev-gcc/xg++ -B/home/aaro/gcctest/build/./prev-gcc/ -B/usr/local/arm-unknown-linux-gnueabi/bin/ -nostdinc++ -B/home/aaro/gcctest/build/prev-arm-unknown-linux-gnueabi/libstdc++-v3/src/.libs -B/home/aaro/gcctest/build/prev-arm-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs -I/home/aaro/gcctest/build/prev-arm-unknown-linux-gnueabi/libstdc++-v3/include/arm-unknown-linux-gnueabi -I/home/aaro/gcctest/build/prev-arm-unknown-linux-gnueabi/libstdc++-v3/include -I/home/aaro/gcctest/gcc-4.9.2/libstdc++-v3/libsupc++ -L/home/aaro/gcctest/build/prev-arm-unknown-linux-gnueabi/libstdc++-v3/src/.libs -L/home/aaro/gcctest/build/prev-arm-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs -c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.9.2/gcc -I../../gcc-4.9.2/gcc/. -I../../gcc-4.9.2/gcc/../include -I../../gcc-4.9.2/gcc/../libcpp/include -I../../gcc-4.9.2/gcc/../libdecnumber -I../../gcc-4.9.2/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.2/gcc/../libbacktrace -o haifa-sched.o -MT haifa-sched.o -MMD -MP -MF ./.deps/haifa-sched.TPo ../../gcc-4.9.2/gcc/haifa-sched.c ../../gcc-4.9.2/gcc/haifa-sched.c: In function 'bool schedule_block(basic_block_def**, state_t)': ../../gcc-4.9.2/gcc/haifa-sched.c:6507:1: internal compiler error: in lra_create_copy, at lra.c:1532 } ^ 0x8a2ac7 lra_create_copy(int, int, int) ../../gcc-4.9.2/gcc/lra.c:1532 0x8cbaaf process_bb_lives ../../gcc-4.9.2/gcc/lra-lives.c:568 0x8cd583 lra_create_live_ranges(bool) ../../gcc-4.9.2/gcc/lra-lives.c:1008 0x8a51ef lra(_IO_FILE*) ../../gcc-4.9.2/gcc/lra.c:2372 0x83df07 do_reload ../../gcc-4.9.2/gcc/ira.c:5457 0x83e35b rest_of_handle_reload ../../gcc-4.9.2/gcc/ira.c:5598 0x83e3d3 execute ../../gcc-4.9.2/gcc/ira.c:5627 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. The host GCC is 4.9.2 (cross-compiled on x86_64 using GCC 4.9.2). Configure command for bootstrap was: $ ../gcc-4.9.2/configure --with-arch=armv4t --with-float=soft --disable-nls --enable-languages=c,c++ --host=arm-unknown-linux-gnueabi --build=arm-unknown-linux-gnueabi --target=arm-unknown-linux-gnueabi --with-system-zlib --with-sysroot=/ --disable-static --enable-shared