aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZdenek Dvorak <dvorakz@suse.cz>2006-03-13 13:08:38 +0100
committerZdenek Dvorak <rakdver@gcc.gnu.org>2006-03-13 12:08:38 +0000
commit8083853174ebacc8775d52e58a142639d8aa2180 (patch)
tree8a6191015d6041b4e148c144413458638ee858ae /gcc
parent7490e6c410a82014ff0a0e8ba70131625910b35d (diff)
downloadgcc-8083853174ebacc8775d52e58a142639d8aa2180.zip
gcc-8083853174ebacc8775d52e58a142639d8aa2180.tar.gz
gcc-8083853174ebacc8775d52e58a142639d8aa2180.tar.bz2
final.c (shorten_branches): Remove outdated comment, and turn the if branch that guards it to continue.
* final.c (shorten_branches): Remove outdated comment, and turn the if branch that guards it to continue. From-SVN: r111995
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/final.c11
2 files changed, 8 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c0e0a5..cd3f8b2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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.
* cfgloop.h (struct loop): Remove unused fields.
diff --git a/gcc/final.c b/gcc/final.c
index 0459664..f233f12 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -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;