diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2004-06-15 10:27:30 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-06-15 10:27:30 +0000 |
commit | 3dd8069d498c0cef2040ea3ce54b793280dfb1a6 (patch) | |
tree | 8346736ba3ab71b9fe4dcf8146e4e01203999424 /gcc/fold-const.c | |
parent | 7b14411a870638fb16f4a6052fcd64917ed1505d (diff) | |
download | gcc-3dd8069d498c0cef2040ea3ce54b793280dfb1a6.zip gcc-3dd8069d498c0cef2040ea3ce54b793280dfb1a6.tar.gz gcc-3dd8069d498c0cef2040ea3ce54b793280dfb1a6.tar.bz2 |
fold-const.c (operand_equal_p): Update comment.
2004-06-15 Paolo Bonzini <bonzini@gnu.org>
* fold-const.c (operand_equal_p): Update comment.
From-SVN: r83173
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 1cc2b81..3c5a81d 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -2337,10 +2337,10 @@ truth_value_p (enum tree_code code) executed between the evaluation of its "operands" (which may often be evaluated in arbitrary order). Hence if the operands themselves don't side-effect, the VAR_DECLs, PARM_DECLs etc... must hold the - same value in each operand/subexpression. Hence a zero value for - ONLY_CONST assumes isochronic (or instantaneous) tree equivalence. - If comparing arbitrary expression trees, such as from different - statements, ONLY_CONST must usually be nonzero. + same value in each operand/subexpression. Hence leaving OEP_ONLY_CONST + unset means assuming isochronic (or instantaneous) tree equivalence. + Unless comparing arbitrary expression trees, such as from different + statements, this flag can usually be left unset. If OEP_PURE_SAME is set, then pure functions with identical arguments are considered the same. It is used when the caller has other ways |