diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-09 22:19:47 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-09 22:19:47 +0000 |
commit | 5cbfefc3910cc4e3dadcddc9fae9f7871d9a0170 (patch) | |
tree | 937dd5d9392cb42ef29a93d327866060b7486110 /gcc/reorg.c | |
parent | cde9210619a170bbaa19a1b04bd2145b46fe04a5 (diff) | |
download | gcc-5cbfefc3910cc4e3dadcddc9fae9f7871d9a0170.tar.gz |
2012-01-09 Tom de Vries <tom@codesourcery.com>
Andrew Pinski <apinski@cavium.com>
* reorg.c (fill_slots_from_thread): Don't speculate frame-related insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183038 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 0b90550add5..3fa53939d5e 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -2716,7 +2716,8 @@ fill_slots_from_thread (rtx insn, rtx condition, rtx thread, 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); |