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
This commit is contained in:
Jeff Law 2011-01-26 15:45:04 -07:00 committed by Jeff Law
parent 753e7b85bd
commit f7a60085fc
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-01-26 Jeff Law <law@redhat.com>
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 <dj@redhat.com>
PR rtl-optimization/46878

View File

@ -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;