Commit a34a369b by Doug Evans

(emit_reload_insns): Advance following_insn if it is a clobber,

not if the next insn is a clobber.

From-SVN: r4198
parent c9d28865
...@@ -5209,14 +5209,14 @@ emit_reload_insns (insn) ...@@ -5209,14 +5209,14 @@ emit_reload_insns (insn)
&& GET_CODE (PATTERN (PREV_INSN (before_insn))) == USE) && GET_CODE (PATTERN (PREV_INSN (before_insn))) == USE)
before_insn = PREV_INSN (before_insn); before_insn = PREV_INSN (before_insn);
/* If this insn is followed by any CLOBBER insns made by find_reloads, /* If INSN is followed by any CLOBBER insns made by find_reloads,
put our reloads after them since they may otherwise be put our reloads after them since they may otherwise be
misinterpreted. */ misinterpreted. */
while (NEXT_INSN (following_insn) != 0 while (GET_CODE (following_insn) == INSN
&& GET_CODE (NEXT_INSN (following_insn)) == INSN && GET_MODE (following_insn) == DImode
&& GET_MODE (NEXT_INSN (following_insn)) == DImode && GET_CODE (PATTERN (following_insn)) == CLOBBER
&& GET_CODE (PATTERN (NEXT_INSN (following_insn))) == CLOBBER) && NEXT_INSN (following_insn) != 0)
following_insn = NEXT_INSN (following_insn); following_insn = NEXT_INSN (following_insn);
/* Now output the instructions to copy the data into and out of the /* Now output the instructions to copy the data into and out of the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment