http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49891
Summary: [4.7 regression] ICE in redirect_jump_1 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: critical Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: rearn...@gcc.gnu.org CC: ber...@gcc.gnu.org Target: arm-eabi Created attachment 24860 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24860 testcase ICE while building newlib with the options -mfloat-abi=hard -O2 first failing revision: 176881 2011-07-28 Bernd Schmidt <ber...@codesourcery.com> * rtlanal.c (tablejump_p): False for returns. * reorg.c (first_active_target_insn): New static function. (find_end_label): Set JUMP_LABEL for a new returnjump. (optimize_skip, get_jump_flags, rare_destination, mostly_true_jump, get_branch_condition, steal_delay_list_from_target, own_thread_p, fill_simple_delay_slots, follow_jumps, fill_slots_from_thread, fill_eager_delay_slots, relax_delay_slots, make_return_insns, dbr_schedule): Adjust to handle ret_rtx in JUMP_LABELs. * jump.c (delete_related_insns): Likewise. ...