https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60718
--- Comment #22 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- Hmm.... I tried to boot-strap a clean gcc 4.9.2 with this patch, but it did not make it. Looks like some one spoiled the armv7l-unknown-linux-gnueabihf target. So it is currently pointless to fix this for 4.9.x and as far as I remember the situation for 4.8.x was similar. /home/ed/gnu/gcc-test/./prev-gcc/xg++ -B/home/ed/gnu/gcc-test/./prev-gcc/ -B/home/ed/gnu/arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/bin/ -nostdinc++ -B/home/ed/gnu/gcc-test/prev-armv7l-unknown-linux-gnueabihf/libstdc++-v3/src/.libs -B/home/ed/gnu/gcc-test/prev-armv7l-unknown-linux-gnueabihf/libstdc++-v3/libsupc++/.libs -I/home/ed/gnu/gcc-test/prev-armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/armv7l-unknown-linux-gnueabihf -I/home/ed/gnu/gcc-test/prev-armv7l-unknown-linux-gnueabihf/libstdc++-v3/include -I/home/ed/gnu/gcc-4.9.2/libstdc++-v3/libsupc++ -L/home/ed/gnu/gcc-test/prev-armv7l-unknown-linux-gnueabihf/libstdc++-v3/src/.libs -L/home/ed/gnu/gcc-test/prev-armv7l-unknown-linux-gnueabihf/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/home/ed/gnu/gcc-test/./gmp -I/home/ed/gnu/gcc-4.9.2/gmp -I/home/ed/gnu/gcc-test/./mpfr -I/home/ed/gnu/gcc-4.9.2/mpfr -I/home/ed/gnu/gcc-4.9.2/mpc/src -I../../gcc-4.9.2/gcc/../libdecnumber -I../../gcc-4.9.2/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.2/gcc/../libbacktrace -DCLOOG_INT_GMP -I/home/ed/gnu/gcc-test/./cloog/include -I/home/ed/gnu/gcc-4.9.2/cloog/include -I../gcc-4.9.2/cloog/include -I/home/ed/gnu/gcc-test/./isl/include -I/home/ed/gnu/gcc-4.9.2/isl/include -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 } ^ 0x951cfb lra_create_copy(int, int, int) ../../gcc-4.9.2/gcc/lra.c:1532 0x97bc5f process_bb_lives ../../gcc-4.9.2/gcc/lra-lives.c:568 0x97d81f lra_create_live_ranges(bool) ../../gcc-4.9.2/gcc/lra-lives.c:1008 0x9544b7 lra(_IO_FILE*) ../../gcc-4.9.2/gcc/lra.c:2372 0x8ecd27 do_reload ../../gcc-4.9.2/gcc/ira.c:5457 0x8ed193 rest_of_handle_reload ../../gcc-4.9.2/gcc/ira.c:5598 0x8ed1ff 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. make[3]: *** [haifa-sched.o] Error 1 make[3]: Leaving directory `/home/ed/gnu/gcc-test/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/home/ed/gnu/gcc-test' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/home/ed/gnu/gcc-test' make: *** [all] Error 2