diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fold-const.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e603825..d2c7c64 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-06-15 Paolo Bonzini <bonzini@gnu.org> + + * fold-const.c (operand_equal_p): Update comment. + 2004-06-15 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> * config/m32r/m32r.h (RETURN_ADDR_RTX): Define. 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 |