From f7a60085fcc598cbae262e4ccc7fe94e18b8dfc5 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 26 Jan 2011 15:45:04 -0700 Subject: [PATCH] re PR libgomp/47464 (Many gomp failures) PR rtl-optimization/47464 * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p rather than may_trap_p as needed. From-SVN: r169310 --- gcc/ChangeLog | 6 ++++++ gcc/df-problems.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 67ce1d2bd69..35e555b71a5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-01-26 Jeff Law + + PR rtl-optimization/47464 + * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p + rather than may_trap_p as needed. + 2011-01-26 DJ Delorie PR rtl-optimization/46878 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;