https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64460
Bug ID: 64460 Summary: ARM ICE on valid code Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org Created attachment 34367 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34367&action=edit Preprocessed RTEMS source which produces the error Looks like an xscale specific issue at -O2. Doesn't crash at -O1. Worked on the 4.9 branch. $ arm-rtems4.11-gcc --version arm-rtems4.11-gcc (GCC) 5.0.0 20141230 (experimental) $ arm-rtems4.11-gcc -mcpu=xscale -O2 -c gumstix.c ../../../../../../rtems/c/src/../../cpukit/score/src/objectextendinformation.c: In function '_Objects_Extend_information': ../../../../../../rtems/c/src/../../cpukit/score/src/objectextendinformation.c:278:1: internal compiler error: Segmentation fault } ^ 0x93b7af crash_signal ../../gcc/gcc/toplev.c:359 0x8e4940 reg_overlap_mentioned_p(rtx_def const*, rtx_def const*) ../../gcc/gcc/rtlanal.c:1522 0xc0c44c xscale_sched_adjust_cost ../../gcc/gcc/config/arm/arm.c:11497 0xc0c06b arm_adjust_cost ../../gcc/gcc/config/arm/arm.c:11947 0xe17ddf dep_cost_1(_dep*, unsigned int) ../../gcc/gcc/haifa-sched.c:1513 0xe19547 dep_cost(_dep*) ../../gcc/gcc/haifa-sched.c:1532 0xe19547 priority ../../gcc/gcc/haifa-sched.c:1683 0xe1963f set_priorities(rtx_insn*, rtx_insn*) ../../gcc/gcc/haifa-sched.c:6796 0x8ecdcc compute_priorities() ../../gcc/gcc/sched-rgn.c:2940 0x8ef9ed schedule_region ../../gcc/gcc/sched-rgn.c:3033 0x8ef9ed schedule_insns() ../../gcc/gcc/sched-rgn.c:3431 0x8f00f3 schedule_insns() ../../gcc/gcc/sched-rgn.c:3416 0x8f00f3 rest_of_handle_sched ../../gcc/gcc/sched-rgn.c:3635 0x8f00f3 execute ../../gcc/gcc/sched-rgn.c:3743 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.