diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-28 18:03:21 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-28 18:03:21 +0000 |
commit | 26e1261a7d5763cee4e7280239cd64e0ad6b3cdb (patch) | |
tree | cc83b84ce7c4da661546d58027790862ce4092db /gcc/ChangeLog | |
parent | ef2f1a1042205241206d078c68f75bcfe1170e15 (diff) | |
download | gcc-26e1261a7d5763cee4e7280239cd64e0ad6b3cdb.tar.gz |
2006-10-28 Richard Guenther <rguenther@suse.de>
PR middle-end/26899
* fold-const.c (maybe_canonicalize_comparison_1): Helper
for maybe_canonicalize_comparison.
(maybe_canonicalize_comparison): New function for canonicalizing
comparison trees.
(fold_comparison): Call it to canonicalize comparisons with
constants involved.
* gcc.dg/tree-ssa/pr26899.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118106 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e64b3f487de..fe590bf2ac2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,15 @@ 2006-10-28 Richard Guenther <rguenther@suse.de> + PR middle-end/26899 + * fold-const.c (maybe_canonicalize_comparison_1): Helper + for maybe_canonicalize_comparison. + (maybe_canonicalize_comparison): New function for canonicalizing + comparison trees. + (fold_comparison): Call it to canonicalize comparisons with + constants involved. + +2006-10-28 Richard Guenther <rguenther@suse.de> + PR target/28806 * builtins.c (expand_builtin_int_roundingfn_2): Expand BUILT_IN_LROUND and BUILT_IN_LLROUND from here. |