From a36335da46c1f168512818d9307b7002f868194c Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 25 Oct 1999 22:27:50 -0600 Subject: [PATCH] * fold-const.c (fold): Fix comment. From-SVN: r30174 --- gcc/ChangeLog | 4 ++++ gcc/fold-const.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 84c409d09d7..b282864fb4e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Oct 25 22:27:40 1999 Jim Kingdon + + * fold-const.c (fold): Fix comment. + Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi * dbxout.c (lastfile, cwd, dbxout_type_method_1, diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 24cc7529327..f633fa85f13 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -5258,7 +5258,7 @@ fold (expr) return build1 (NOP_EXPR, type, TREE_OPERAND (arg0, 0)); } - /* Convert (or (not arg0) (not arg1)) to (not (and (arg0) (arg1))). + /* Convert (and (not arg0) (not arg1)) to (not (or (arg0) (arg1))). This results in more efficient code for machines without a NOR instruction. Combine will canonicalize to the first form -- 2.30.2