Commit aabb6c74 by Nick Clifton Committed by Nick Clifton

Do not try to combine a sequence of insns when the second insn has been

replaced by a note.

From-SVN: r33398
parent a04678ca
2000-04-24 Nick Clifton <nickc@redhat.com>
* combine.c (combine_instructions): Do not try to combine a
sequence of insns when the second insn has been replaced by a
note.
Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu> Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
* gcc.c (load_specs): New static function. * gcc.c (load_specs): New static function.
......
...@@ -646,12 +646,21 @@ combine_instructions (f, nregs) ...@@ -646,12 +646,21 @@ combine_instructions (f, nregs)
/* Try each sequence of three linked insns ending with this one. */ /* Try each sequence of three linked insns ending with this one. */
for (links = LOG_LINKS (insn); links; links = XEXP (links, 1)) for (links = LOG_LINKS (insn); links; links = XEXP (links, 1))
for (nextlinks = LOG_LINKS (XEXP (links, 0)); nextlinks; {
nextlinks = XEXP (nextlinks, 1)) rtx link = XEXP (links, 0);
if ((next = try_combine (insn, XEXP (links, 0),
XEXP (nextlinks, 0), /* If the linked insn has been replaced by a note, then there
&new_direct_jump_p)) != 0) is no point in persuing this chain any further. */
goto retry; if (GET_CODE (link) == NOTE)
break;
for (nextlinks = LOG_LINKS (link);
nextlinks;
nextlinks = XEXP (nextlinks, 1))
if ((next = try_combine (insn, XEXP (links, 0),
XEXP (nextlinks, 0))) != 0)
goto retry;
}
#ifdef HAVE_cc0 #ifdef HAVE_cc0
/* Try to combine a jump insn that uses CC0 /* Try to combine a jump insn that uses CC0
......
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