diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-26 22:45:04 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-26 22:45:04 +0000 |
commit | 9bd1408ac2de749425ac2a315e3f7d242f583b34 (patch) | |
tree | 9e97d51dfc78c5d5221c66af098f983107a62cce /gcc/df-problems.c | |
parent | 03295a09963b63628553be72bf4304cdd7b47289 (diff) | |
download | gcc-9bd1408ac2de749425ac2a315e3f7d242f583b34.tar.gz |
PR rtl-optimization/47464
* df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
rather than may_trap_p as needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-problems.c')
-rw-r--r-- | gcc/df-problems.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/df-problems.c b/gcc/df-problems.c index d9fbc85882c..729cad5f023 100644 --- a/gcc/df-problems.c +++ b/gcc/df-problems.c @@ -3960,7 +3960,7 @@ can_move_insns_across (rtx from, rtx to, rtx across_from, rtx across_to, break; if (NONDEBUG_INSN_P (insn)) { - if (may_trap_p (PATTERN (insn)) + if (may_trap_or_fault_p (PATTERN (insn)) && (trapping_insns_in_across || other_branch_live != NULL)) break; |