Message ID | 4F099F7E.10904@mentor.com |
---|---|
State | New |
Headers | show |
Tom de Vries <Tom_deVries@mentor.com> writes: > 2012-01-08 Tom de Vries <tom@codesourcery.com> > Andrew Pinski <apinski@cavium.com> > > * reorg.c (fill_slots_from_thread): Don't speculate frame-related insns. OK, thanks. Richard
Index: gcc/reorg.c =================================================================== --- gcc/reorg.c (revision 182903) +++ gcc/reorg.c (working copy) @@ -2716,7 +2716,8 @@ fill_slots_from_thread (rtx insn, rtx co if (!must_annul && (condition == const_true_rtx || (! insn_sets_resource_p (trial, &opposite_needed, true) - && ! may_trap_or_fault_p (pat)))) + && ! may_trap_or_fault_p (pat) + && ! RTX_FRAME_RELATED_P (trial)))) { old_trial = trial; trial = try_split (pat, trial, 0);