aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/ia64/ia64.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7559fbe..7e524c6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2014-06-02 Andreas Schwab <schwab@suse.de>
+
+ * config/ia64/ia64.c
+ (ia64_first_cycle_multipass_dfa_lookahead_guard): Check
+ pending_data_specs first.
+
2014-06-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/61378
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 118e5bf..4c5390b 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -7536,7 +7536,7 @@ ia64_first_cycle_multipass_dfa_lookahead_guard (rtx insn, int ready_index)
/* Size of ALAT is 32. As far as we perform conservative
data speculation, we keep ALAT half-empty. */
- if ((TODO_SPEC (insn) & BEGIN_DATA) && pending_data_specs >= 16)
+ if (pending_data_specs >= 16 && (TODO_SPEC (insn) & BEGIN_DATA))
return ready_index == 0 ? -1 : 1;
if (ready_index == 0)