aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e2b4a13..af93012 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,16 @@
+2006-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+ Roger Sayle <roger@eyesopen.com>
+
+ PR rtl-optimization/26244
+ * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
+ inner_const are negative or greater than or equal to the bitsize of
+ MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
+ Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
+ Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
+ CONST0_RTX (mode) when the new shift count is greater than or equal to
+ to the bitsize of the object being shifted and XEXP (y, 0) has no side
+ effects.
+
2006-08-04 Kazu Hirata <kazu@codesourcery.com>
* tree-cfg.c: Fix a comment typo.