Commit c7eee2df by Richard Kenner

(final_scan_insn): When recur for instruction in delay slot...

(final_scan_insn): When recur for instruction in delay slot, add loop
around recursive call in case the instruction gets split.

From-SVN: r10511
parent fe464caf
......@@ -1686,7 +1686,15 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
}
for (i = 1; i < XVECLEN (body, 0); i++)
final_scan_insn (XVECEXP (body, 0, i), file, 0, prescan, 1);
{
rtx insn = XVECEXP (body, 0, i);
rtx next = NEXT_INSN (insn);
/* We loop in case any instruction in a delay slot gets
split. */
do
insn = final_scan_insn (insn, file, 0, prescan, 1);
while (insn != next);
}
#ifdef DBR_OUTPUT_SEQEND
DBR_OUTPUT_SEQEND (file);
#endif
......
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