summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-16 14:07:28 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-16 14:07:28 +0000
commitf80ab0b501b8771223cd6abc4f5dedfbc466e4bb (patch)
tree324a5f27d831cc58fe317e917f349923f0e2be3a
parent023e625db89bcd56c0fce01bbe9edfa93388092e (diff)
downloadppe42-gcc-f80ab0b501b8771223cd6abc4f5dedfbc466e4bb.tar.gz
ppe42-gcc-f80ab0b501b8771223cd6abc4f5dedfbc466e4bb.zip
* fold-const.c (fold_binary_to_constant): Delete obsolete comment.
(fold_unary_to_constant): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98233 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/fold-const.c14
2 files changed, 8 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 97a1d1805ce..ebc2c12bd62 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-16 Roger Sayle <roger@eyesopen.com>
+ Steven Bosscher <stevenb@suse.de>
+
+ * fold-const.c (fold_binary_to_constant): Delete obsolete comment.
+ (fold_unary_to_constant): Likewise.
+
2005-04-16 Kazu Hirata <kazu@cs.umass.edu>
* basic-block.h: Adjust the value of PROP_SCAN_DEAD_STORES,
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index e9b0e219e0a..203fbc58648 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -10794,12 +10794,7 @@ tree_expr_nonzero_p (tree t)
If the expression could be simplified to a constant, then return
the constant. If the expression would not be simplified to a
- constant, then return NULL_TREE.
-
- Note this is primarily designed to be called after gimplification
- of the tree structures and when at least one operand is a constant.
- As a result of those simplifying assumptions this routine is far
- simpler than the generic fold routine. */
+ constant, then return NULL_TREE. */
tree
fold_binary_to_constant (enum tree_code code, tree type, tree op0, tree op1)
@@ -10814,12 +10809,7 @@ fold_binary_to_constant (enum tree_code code, tree type, tree op0, tree op1)
If the expression could be simplified to a constant, then return
the constant. If the expression would not be simplified to a
- constant, then return NULL_TREE.
-
- Note this is primarily designed to be called after gimplification
- of the tree structures and when op0 is a constant. As a result
- of those simplifying assumptions this routine is far simpler than
- the generic fold routine. */
+ constant, then return NULL_TREE. */
tree
fold_unary_to_constant (enum tree_code code, tree type, tree op0)
OpenPOWER on IntegriCloud