Internal compiler error in push_reload during bootstrap stage 2
Bug #1129013 reported by
Matthew Gretton-Dann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
High
|
Yvan Roux | ||
gcc |
Fix Released
|
Medium
|
Bug Description
Backport fix for upstream issue which is latent in GCC Linaro 4.7:
http://
Indeed, the included test.ii does not make GCC Linaro 4.7 crash, but since we backported the patch which exposed the bug on trunk, we have to backport the fix too.
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
description: | updated |
Changed in gcc-linaro: | |
milestone: | 4.7-2013.03 → 4.7-2013.04 |
Changed in gcc-linaro: | |
milestone: | 4.7-2013.04 → 4.7-2013.05 |
Changed in gcc-linaro: | |
milestone: | 4.7-2013.05 → 4.7-2013.06 |
Changed in gcc-linaro: | |
status: | Confirmed → Fix Committed |
Changed in gcc-linaro: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Created attachment 29337
Reduced test case
When bootstrapping on an ARM target I get the following error:
/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ build/. /prev-gcc/ xg++ -B/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ build/. /prev-gcc/ -B/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ install/ arm-linux- gnueabi/ bin/ -nostdinc++ -B/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ build/prev- arm-linux- gnueabi/ libstdc+ +-v3/src/ .libs -B/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ build/prev- arm-linux- gnueabi/ libstdc+ +-v3/libsupc+ +/.libs -I/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ build/prev- arm-linux- gnueabi/ libstdc+ +-v3/include/ arm-linux- gnueabi -I/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ build/prev- arm-linux- gnueabi/ libstdc+ +-v3/include -I/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/gcc- 4.8~svn195568/ libstdc+ +-v3/libsupc+ + -L/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ build/prev- arm-linux- gnueabi/ libstdc+ +-v3/src/ .libs -L/cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ build/prev- arm-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 -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../.. /../gcc- 4.8~svn195568/ gcc -I../.. /../gcc- 4.8~svn195568/ gcc/. -I../.. /../gcc- 4.8~svn195568/ gcc/../ include -I../.. /../gcc- 4.8~svn195568/ gcc/../ libcpp/ include -I../.. /../gcc- 4.8~svn195568/ gcc/../ libdecnumber -I../.. /../gcc- 4.8~svn195568/ gcc/../ libdecnumber/ dpd -I../libdecnumber -I../.. /../gcc- 4.8~svn195568/ gcc/../ libbacktrace ../../. ./gcc-4. 8~svn195568/ gcc/lto- streamer- out.c -o lto-streamer-out.o ./gcc-4. 8~svn195568/ gcc/lto- streamer- in.c: In function 'void lto_input_ function_ body(lto_ file_decl_ data*, tree, const char*)': ./gcc-4. 8~svn195568/ gcc/lto- streamer- in.c:1003: 1: internal compiler error: in push_reload, at reload.c:1014 rtx_def* , rtx_def*, rtx_def**, rtx_def**, reg_class, machine_mode, machine_mode, int, int, int, reload_type) ../gcc- 4.8~svn195568/ gcc/reload. c:1012 rtx_def* , int, int, int, short*) ../gcc- 4.8~svn195568/ gcc/reload. c:4099 needs_all_ insns ../gcc- 4.8~svn195568/ gcc/reload1. c:1520 ../gcc- 4.8~svn195568/ gcc/reload1. c:941 ../gcc- 4.8~svn195568/ gcc/ira. c:4635 handle_ reload ../gcc- 4.8~svn195568/ gcc/ira. c:4736 gcc.gnu. org/bugs. html> for instructions.
../../.
../../.
}
^
0x6d1a41 push_reload(
../../
0x6daa8d find_reloads(
../../
0x6e6d8b calculate_
../../
0x6e560b reload(rtx_def*, int)
../../
0x5f1843 do_reload
../../
0x5f1a33 rest_of_
../../
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://
make[7]: *** [lto-streamer-in.o] Error 1
GCC has been configured as follows:
--prefix= /cbuild/ slaves/ tcpandas/ gcc-4.8~ svn195568/ gcc/default/ install --enable- languages= c,c++,objc, obj-c++ ,fortran, lto --enable- linker- build-id --with-mode=thumb --with-arch=armv7-a --with- tune=cortex- a9 --with-fpu=neon --with-float=softfp --build= arm-linux- gnueabi
Attached test case is a redu...