aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-02-21 00:23:50 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-02-21 00:23:50 +0000
commita3c28ba2754ab87e605ceabfd9cbf293c9b8535e (patch)
tree7b8b7886090f7d00d715e1c20b12a3b8155bf716 /gcc
parentf1cc92209601b31af1d03d8b06589bae05dcd531 (diff)
downloadgcc-a3c28ba2754ab87e605ceabfd9cbf293c9b8535e.zip
gcc-a3c28ba2754ab87e605ceabfd9cbf293c9b8535e.tar.gz
gcc-a3c28ba2754ab87e605ceabfd9cbf293c9b8535e.tar.bz2
* gcse.c: Remove an obsolete comment.
From-SVN: r95318
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gcse.c15
2 files changed, 6 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7ccb4af..33f411f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-20 Kazu Hirata <kazu@cs.umass.edu>
+
+ * gcse.c: Remove an obsolete comment.
+
2005-02-20 Hans-Peter Nilsson <hp@axis.com>
* doc/extend.texi (Function Attributes) <Attribute const>: The
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 757f946..39a844f 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -264,19 +264,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
the result of the expression is copied to a new register, and the redundant
expression is deleted by replacing it with this new register. Classic GCSE
doesn't have this problem as much as it computes the reaching defs of
- each register in each block and thus can try to use an existing register.
-
- **********************
-
- A fair bit of simplicity is created by creating small functions for simple
- tasks, even when the function is only called in one place. This may
- measurably slow things down [or may not] by creating more function call
- overhead than is necessary. The source is laid out so that it's trivial
- to make the affected functions inline so that one can measure what speed
- up, if any, can be achieved, and maybe later when things settle things can
- be rearranged.
-
- Help stamp out big monolithic functions! */
+ each register in each block and thus can try to use an existing
+ register. */
/* GCSE global vars. */