aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-05-29 12:45:59 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-05-29 12:45:59 +0000
commitdb3edc20d962d4b5499d43e28334c65fc925c306 (patch)
tree6fb7c4892212b4157b19cd0a3f6c23398980539f
parenta6404080f569a05ed19727415aa3548f67cb1f8b (diff)
downloadgcc-db3edc20d962d4b5499d43e28334c65fc925c306.zip
gcc-db3edc20d962d4b5499d43e28334c65fc925c306.tar.gz
gcc-db3edc20d962d4b5499d43e28334c65fc925c306.tar.bz2
gcse.c, rtlanal.c: Remove obsolete comments associated with loop.c.
* gcse.c, rtlanal.c: Remove obsolete comments associated with loop.c. From-SVN: r114195
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcse.c3
-rw-r--r--gcc/rtlanal.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bd28387..9e14f4c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-29 Kazu Hirata <kazu@codesourcery.com>
+
+ * gcse.c, rtlanal.c: Remove obsolete comments associated with
+ loop.c.
+
2006-05-28 Kazu Hirata <kazu@codesourcery.com>
* cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 1c000a2..b28273d 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -4576,9 +4576,6 @@ one_pre_gcse_pass (int pass)
LABEL_NUSES count is incremented. We have to add REG_LABEL notes,
because the following loop optimization pass requires them. */
-/* ??? This is very similar to the loop.c add_label_notes function. We
- could probably share code here. */
-
/* ??? If there was a jump optimization pass after gcse and before loop,
then we would not need to do this here, because jump would add the
necessary REG_LABEL notes. */
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 6a7a696..53e6d83 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -3286,7 +3286,7 @@ rtx_cost (rtx x, enum rtx_code outer_code ATTRIBUTE_UNUSED)
total = COSTS_N_INSNS (7);
break;
case USE:
- /* Used in loop.c and combine.c as a marker. */
+ /* Used in combine.c as a marker. */
total = 0;
break;
default: