diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-16 21:59:37 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-16 21:59:37 +0000 |
commit | f02619cd8b13846942322fadd2c0325c6aa2cbb8 (patch) | |
tree | 48699d95fe9545c34c0a8e358520cb9ee0375776 /gcc/sched-deps.c | |
parent | 7dc9211e0e8977d8c5a5b8f4dc226ac0a5187bda (diff) | |
download | gcc-f02619cd8b13846942322fadd2c0325c6aa2cbb8.tar.gz |
2010-10-16 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 165564
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@165565 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r-- | gcc/sched-deps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index dddf836063b..d2e3bb89f38 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -598,8 +598,8 @@ sched_insn_is_legitimate_for_speculation_p (const_rtx insn, ds_t ds) /* The following instructions, which depend on a speculatively scheduled instruction, cannot be speculatively scheduled along. */ { - if (may_trap_p (PATTERN (insn))) - /* If instruction might trap, it cannot be speculatively scheduled. + if (may_trap_or_fault_p (PATTERN (insn))) + /* If instruction might fault, it cannot be speculatively scheduled. For control speculation it's obvious why and for data speculation it's because the insn might get wrong input if speculation wasn't successful. */ |