diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-04-11 10:38:25 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-04-11 10:38:25 -0700 |
commit | 9772d94feb04d7ad3a5fdf787c992f7ac88bc186 (patch) | |
tree | ee7b4ed96db08e675c6fc69831b5355ac80478ce | |
parent | 9753d4e4b1bc8b024114f36907840023c346ef57 (diff) | |
download | gcc-9772d94feb04d7ad3a5fdf787c992f7ac88bc186.zip gcc-9772d94feb04d7ad3a5fdf787c992f7ac88bc186.tar.gz gcc-9772d94feb04d7ad3a5fdf787c992f7ac88bc186.tar.bz2 |
(try_merge_delay_insns): Move next_trial update
immediately after the try_split call.
From-SVN: r7032
-rw-r--r-- | gcc/reorg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index d4ebbab..df4d79c 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -1742,12 +1742,13 @@ try_merge_delay_insns (insn, thread) && ! insn_sets_resource_p (trial, &set, 1) && ! insn_sets_resource_p (trial, &needed, 1) && (trial = try_split (pat, trial, 0)) != 0 + /* Update next_trial, in case try_split succeeded. */ + && (next_trial = next_nonnote_insn (trial)) && rtx_equal_p (PATTERN (next_to_match), PATTERN (trial)) /* Have to test this condition if annul condition is different from (and less restrictive than) non-annulling one. */ && eligible_for_delay (delay_insn, slot_number - 1, trial, flags)) { - next_trial = next_nonnote_insn (trial); if (! annul_p) { |