https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65924
Bug ID: 65924 Summary: [6.0 Regression] ICE const_int_operand failed on arm-none-eabi Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: yroux at gcc dot gnu.org Target Milestone: --- My insn cleanup patch committed at r222528 brakes newlib build when compiling ldtoa.c. I didn't notice it earlier as newlib has to be built in thumb. I'll fix that. Error message is: ldtoa.c:2857:1: internal compiler error: Segmentation fault } ^ 0xa700ef crash_signal /home/yvan.roux/sources/gcc.git~master/gcc/toplev.c:380 0x9e3a31 const_int_operand(rtx_def*, machine_mode) /home/yvan.roux/sources/gcc.git~master/gcc/recog.c:1211 0xd9bf61 get_attr_type(rtx_insn*) /home/yvan.roux/sources/gcc.git~master/gcc/config/arm/arm.md:2854 0xe3a952 insn_default_latency(rtx_insn*) /home/yvan.roux/sources/gcc.git~master/gcc/config/arm/arm-tune.md:39 0xf7a0a2 insn_cost(rtx_insn*) /home/yvan.roux/sources/gcc.git~master/gcc/haifa-sched.c:1438 0xf7fa87 dep_cost_1(_dep*, unsigned int) /home/yvan.roux/sources/gcc.git~master/gcc/haifa-sched.c:1491 0xf817c7 dep_cost /home/yvan.roux/sources/gcc.git~master/gcc/haifa-sched.c:1546 0xf817c7 priority /home/yvan.roux/sources/gcc.git~master/gcc/haifa-sched.c:1697 0xf8189b set_priorities(rtx_insn*, rtx_insn*) /home/yvan.roux/sources/gcc.git~master/gcc/haifa-sched.c:7092 0xa20c38 compute_priorities() /home/yvan.roux/sources/gcc.git~master/gcc/sched-rgn.c:2938 0xa2383d schedule_region /home/yvan.roux/sources/gcc.git~master/gcc/sched-rgn.c:3031 0xa2383d schedule_insns /home/yvan.roux/sources/gcc.git~master/gcc/sched-rgn.c:3429 0xa23f63 schedule_insns /home/yvan.roux/sources/gcc.git~master/gcc/sched-rgn.c:3414 0xa23f63 rest_of_handle_sched /home/yvan.roux/sources/gcc.git~master/gcc/sched-rgn.c:3633 0xa23f63 execute /home/yvan.roux/sources/gcc.git~master/gcc/sched-rgn.c:3741