aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/fold-const.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 39054b2..62207bc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-22 Richard Sandiford <rsandifo@redhat.com>
+
+ * fold-const.c (fold): Fix typo in comments.
+
2002-02-21 Diego Novillo <dnovillo@redhat.com>
* Makefile.in (langhooks.o): Update dependencies.
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 7c9a5ec..5a8f73b 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -7112,7 +7112,7 @@ fold (expr)
STRIP_NOPS (arg2);
- /* If we have A op 0 ? A : -A, this is A, -A, abs (A), or abs (-A),
+ /* If we have A op 0 ? A : -A, this is A, -A, abs (A), or -abs (A),
depending on the comparison operation. */
if ((FLOAT_TYPE_P (TREE_TYPE (TREE_OPERAND (arg0, 1)))
? real_zerop (TREE_OPERAND (arg0, 1))