https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62213
Bug ID: 62213 Summary: [5 Rgression] ICE in lto for test case 20081120-1 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: tony.wang at arm dot com Run into a lto test case ICE on trunk. /home/build/work/GCC-5-0-build/build-native/gcc-final/gcc/xgcc -B/home/build/work/GCC-5-0-build/build-native/gcc-final/gcc/ -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -r -nostdlib -c -mthumb -mcpu=cortex-m0 -o c_lto_20081120-1_0.o /home/build/work/GCC-5-0-build/src/gcc/gcc/testsuite/gcc.dg/lto/20081120-1_0.c /home/build/work/GCC-5-0-build/build-native/gcc-final/gcc/xgcc -B/home/build/work/GCC-5-0-build/build-native/gcc-final/gcc/ -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -r -nostdlib -c -mthumb -mcpu=cortex-m0 -o c_lto_20081120-1_1.o /home/build/work/GCC-5-0-build/src/gcc/gcc/testsuite/gcc.dg/lto/20081120-1_1.c /home/build/work/GCC-5-0-build/build-native/gcc-final/gcc/xgcc -B/home/build/work/GCC-5-0-build/build-native/gcc-final/gcc/ c_lto_20081120-1_0.o c_lto_20081120-1_1.o gcc_tg.o -fno-diagnostics-show-caret -fdiagnostics-color=never -flto -r -nostdlib -Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -mthumb -mcpu=cortex-m0 -o gcc-dg-lto-20081120-1-01.exe lto1: internal compiler error: in do_whole_program_analysis, at lto/lto.c:3249^M 0x81b8acf do_whole_program_analysis^M /home/build/work/GCC-5-0-build/src/gcc/gcc/lto/lto.c:3249^M 0x81b8acf lto_main()^M /home/build/work/GCC-5-0-build/src/gcc/gcc/lto/lto.c:3427^M Please submit a full bug report,^M with preprocessed source if appropriate.^M Please include the complete backtrace with any bug report.^M See <http://gcc.gnu.org/bugs.html> for instructions.^M lto-wrapper: fatal error: /home/build/work/GCC-5-0-build/build-native/gcc-final/gcc/xgcc returned 1 exit status^M compilation terminated.^M /home/build/work/GCC-5-0-build/install-native/arm-none-eabi/bin/ld: lto-wrapper failed^M collect2: error: ld returned 1 exit status^M compiler exited with status 1 output is: lto1: internal compiler error: in do_whole_program_analysis, at lto/lto.c:3249^M 0x81b8acf do_whole_program_analysis^M /home/build/work/GCC-5-0-build/src/gcc/gcc/lto/lto.c:3249^M 0x81b8acf lto_main()^M /home/build/work/GCC-5-0-build/src/gcc/gcc/lto/lto.c:3427^M Please submit a full bug report,^M with preprocessed source if appropriate.^M Please include the complete backtrace with any bug report.^M See <http://gcc.gnu.org/bugs.html> for instructions.^M lto-wrapper: fatal error: /home/build/work/GCC-5-0-build/build-native/gcc-final/gcc/xgcc returned 1 exit status^M compilation terminated.^M /home/build/work/GCC-5-0-build/install-native/arm-none-eabi/bin/ld: lto-wrapper failed^M collect2: error: ld returned 1 exit status^M