aboutsummaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2012-01-09 22:19:47 +0000
committerTom de Vries <vries@gcc.gnu.org>2012-01-09 22:19:47 +0000
commit243b92d11e983eaa85919ed223fe6a3bca8cf890 (patch)
tree937dd5d9392cb42ef29a93d327866060b7486110 /gcc/reorg.c
parent4f7c82dcdbe1daea1969699e143d50aa63e19308 (diff)
downloadgcc-243b92d11e983eaa85919ed223fe6a3bca8cf890.zip
gcc-243b92d11e983eaa85919ed223fe6a3bca8cf890.tar.gz
gcc-243b92d11e983eaa85919ed223fe6a3bca8cf890.tar.bz2
re PR debug/51471 (gcc.c-torture/execute/20040811-1.c and gcc.c-torture/execute/vla-dealloc-1.c fails at -O3 -g on mips64-linux-gnu)
2012-01-09 Tom de Vries <tom@codesourcery.com> Andrew Pinski <apinski@cavium.com> PR debug/51471 * reorg.c (fill_slots_from_thread): Don't speculate frame-related insns. Co-Authored-By: Andrew Pinski <apinski@cavium.com> From-SVN: r183038
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 0b90550..3fa5393 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);