diff options
author | Roger Sayle <roger@eyesopen.com> | 2005-04-16 14:07:28 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2005-04-16 14:07:28 +0000 |
commit | 41704a387ef7a69778f2d06325b1c10b800bca0d (patch) | |
tree | 324a5f27d831cc58fe317e917f349923f0e2be3a /gcc/fold-const.c | |
parent | da190657e279a25b89dc4484b721b66cd172e93b (diff) | |
download | gcc-41704a387ef7a69778f2d06325b1c10b800bca0d.zip gcc-41704a387ef7a69778f2d06325b1c10b800bca0d.tar.gz gcc-41704a387ef7a69778f2d06325b1c10b800bca0d.tar.bz2 |
fold-const.c (fold_binary_to_constant): Delete obsolete comment.
* 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
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index e9b0e21..203fbc5 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) |