fold-const.c (fold_binary_to_constant): Delete obsolete comment.
authorRoger Sayle <roger@eyesopen.com>
Sat, 16 Apr 2005 14:07:28 +0000 (14:07 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 16 Apr 2005 14:07:28 +0000 (14:07 +0000)
* fold-const.c (fold_binary_to_constant): Delete obsolete comment.
(fold_unary_to_constant): Likewise.

Co-Authored-By: Steven Bosscher <stevenb@suse.de>
From-SVN: r98233

gcc/ChangeLog
gcc/fold-const.c

index 97a1d1805ce5dce3c8ad5e24c9ccd14a85791fdc..ebc2c12bd627d105355c5c82e1c26b829361cae2 100644 (file)
@@ -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,
index e9b0e219e0a807421258634c62b3375c08b1b592..203fbc5864852a6b1597ecba5d56d5917715b905 100644 (file)
@@ -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)