aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0dd65f3..9a4a44b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2002-06-01 Roger Sayle <roger@eyesopen.com>
+ * tree.c (real_minus_onep): New function to test for -1.0.
+ * fold-const.c (fold) [MULT_EXPR]: Optimize -1.0*x into -x.
+
+2002-06-01 Roger Sayle <roger@eyesopen.com>
+
* fold-const.c (fold_truthop): Transform "a || b" into "(a|b) != 0"
and "!p && !q" into "(p|q) == 0" under suitable conditions.