https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62203
Bug ID: 62203 Summary: arm-rtems ICE compiling libgcc/fixed-bit.c Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org I can provide more details but since this is just with compiling libgcc, I doubt that much else is needed. I last built this target on: arm-rtems4.11-gcc (GCC) 5.0.0 20140818 (experimental) /users/joel/test-gcc/b-arm-rtems4.11-gcc/./gcc/xgcc -B/users/joel/test-gcc/b-arm-rtems4.11-gcc/./gcc/ -nostdinc -B/users/joel/test-gcc/b-arm-rtems4.11-gcc/arm-rtems4.11/newlib/ -isystem /users/joel/test-gcc/b-arm-rtems4.11-gcc/arm-rtems4.11/newlib/targ-include -isystem /users/joel/test-gcc/gcc/newlib/libc/include -B/users/joel/test-gcc/install-head/arm-rtems4.11/bin/ -B/users/joel/test-gcc/install-head/arm-rtems4.11/lib/ -isystem /users/joel/test-gcc/install-head/arm-rtems4.11/include -isystem /users/joel/test-gcc/install-head/arm-rtems4.11/sys-include -g -O2 -mthumb -march=armv7-a -O2 -I../../../../../gcc/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fno-inline -I. -I. -I../../../.././gcc -I../../../../../gcc/libgcc -I../../../../../gcc/libgcc/. -I../../../../../gcc/libgcc/../gcc -I../../../../../gcc/libgcc/../include -DHAVE_CC_TLS -o _saturate2UDQ.o -MT _saturate2UDQ.o -MD -MP -MF _saturate2UDQ.dep -DL_saturate2 -DUDQ_MODE -c ../../../../../gcc/libgcc/fixed-bit.c -fvisibility=hidden -DHIDE_EXPORTS ../../../../../gcc/libgcc/fixed-bit.c: In function '__gnu_saturate2udq': ../../../../../gcc/libgcc/fixed-bit.c:246:1: internal compiler error: Segmentation fault } ^ 0x8dab0f crash_signal ../../gcc/gcc/toplev.c:337 0x577583 bool is_a_helper<rtx_insn*>::test<rtx_def>(rtx_def*) ../../gcc/gcc/rtl.h:687 0x577583 bool is_a<rtx_insn*, rtx_def>(rtx_def*) ../../gcc/gcc/is-a.h:182 0x577583 rtx_insn* as_a<rtx_insn*, rtx_def>(rtx_def*) ../../gcc/gcc/is-a.h:192 0x577583 duplicate_insn_chain(rtx_def*, rtx_def*) ../../gcc/gcc/cfgrtl.c:4169 0x8b2299 dup_block_and_redirect(basic_block_def*, basic_block_def*, rtx_def*, bitmap_head*) ../../gcc/gcc/shrink-wrap.c:389 0x8b34ec try_shrink_wrapping(edge_def**, edge_def*, bitmap_head*, rtx_def*) ../../gcc/gcc/shrink-wrap.c:748 0x6ce5f4 thread_prologue_and_epilogue_insns ../../gcc/gcc/function.c:5691 0x6ce5f4 rest_of_handle_thread_prologue_and_epilogue ../../gcc/gcc/function.c:6242 0x6ce5f4 execute ../../gcc/gcc/function.c:6280 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[4]: *** [_saturate2UDQ.o] Error 1 make[4]: Leaving directory `/users/joel/test-gcc/b-arm-rtems4.11-gcc/arm-rtems4.11/thumb/armv7-a/libgcc'