final.c (shorten_branches): Remove outdated comment, and turn the if branch that...
authorZdenek Dvorak <dvorakz@suse.cz>
Mon, 13 Mar 2006 12:08:38 +0000 (13:08 +0100)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Mon, 13 Mar 2006 12:08:38 +0000 (12:08 +0000)
* final.c (shorten_branches): Remove outdated comment, and turn
the if branch that guards it to continue.

From-SVN: r111995

gcc/ChangeLog
gcc/final.c

index 6c0e0a56021412e509fa7727e022ff53abab9273..cd3f8b2e8e0d32d80c0fa2234d047607457e4755 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-13  Zdenek Dvorak <dvorakz@suse.cz>
+
+       * final.c (shorten_branches): Remove outdated comment, and turn
+       the if branch that guards it to continue.
+
 2006-03-13  Zdenek Dvorak <dvorakz@suse.cz>
 
        * cfgloop.c (flow_loop_dump): Do not dump loop->invalid field.
index 04596646b3eda6098919e6369ff7f5f445e4bf5a..f233f12219a811bf05069f5be3f8eb789d2f1d6d 100644 (file)
@@ -856,14 +856,9 @@ shorten_branches (rtx first ATTRIBUTE_UNUSED)
 
       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))
+       continue;
+      
+      if (LABEL_P (insn))
        {
          rtx next;