[patch] Remove loop notes (1/8) -- comment in shorten branches
Zdenek Dvorak
rakdver@atrey.karlin.mff.cuni.cz
Fri Mar 10 09:12:00 GMT 2006
Hello,
this is the first of the patches to remove loop notes. This one
just removes an outdated comment in final.c:shorten_branches,
and make it more obvious we ignore normal insns.
Bootstrapped & regtested on i686.
Zdenek
* final.c (shorten_branches): Remove outdated comment, and turn
the if branch that guards it to continue.
Index: final.c
===================================================================
*** final.c (revision 111675)
--- final.c (working copy)
*************** shorten_branches (rtx first ATTRIBUTE_UN
*** 856,869 ****
INSN_SHUID (insn) = i++;
if (INSN_P (insn))
! {
! /* reorg might make the first insn of a loop being run once only,
! and delete the label in front of it. Then we want to apply
! the loop alignment to the new label created by reorg, which
! is separated by the former loop start insn from the
! NOTE_INSN_LOOP_BEG. */
! }
! else if (LABEL_P (insn))
{
rtx next;
--- 856,864 ----
INSN_SHUID (insn) = i++;
if (INSN_P (insn))
! continue;
!
! if (LABEL_P (insn))
{
rtx next;
More information about the Gcc-patches
mailing list