diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-27 08:40:41 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-27 08:40:41 +0000 |
commit | 7a936035593fcfeebb30b85f1c5c3e3d74dd13fe (patch) | |
tree | c074a80e7a2b629481113600ba8546103fac3449 /gcc/sched-deps.c | |
parent | b1bb9a61340c954b860eedbbe36403026608cf18 (diff) | |
download | gcc-7a936035593fcfeebb30b85f1c5c3e3d74dd13fe.tar.gz |
2013-02-27 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 196306 using svnmerge.py
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@196307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r-- | gcc/sched-deps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 7de974b6358..be6e7bb9514 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -3317,9 +3317,9 @@ sched_analyze_insn (struct deps_desc *deps, rtx x, rtx insn) SET_REGNO_REG_SET (&deps->reg_last_in_use, i); } - /* Flush pending lists on jumps, but not on speculative checks. */ - if (JUMP_P (insn) && !(sel_sched_p () - && sel_insn_is_speculation_check (insn))) + /* Don't flush pending lists on speculative checks for + selective scheduling. */ + if (!sel_sched_p () || !sel_insn_is_speculation_check (insn)) flush_pending_lists (deps, insn, true, true); reg_pending_barrier = NOT_A_BARRIER; |