Regtested on ia64-suse-linux and installed as obvious. Andreas.
* config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard): Check pending_data_specs first. 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) -- 2.0.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."