diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-09 23:09:10 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-09 23:09:10 +0000 |
commit | 5dbcb7c447db35a345494679ba02531d5deecd2f (patch) | |
tree | 1851abe5b6ab31a79b9123eb587ce0d579e400ff /gcc/ChangeLog | |
parent | 2f008994736cbcb2058f9e65e30f5f67471d3880 (diff) | |
download | gcc-5dbcb7c447db35a345494679ba02531d5deecd2f.tar.gz |
* fold-const.c (fold_comparison): Remove compile-time evaluation of
complex constant equality/inequality comparisons for here.
(fold_binary) <EQ_EXPR>: Simplify complex comparisons that are
known at compile-time or can be simplified to a scalar comparison.
(fold_relational_const): Move compile-time evaluation of complex
constant equality/inequality comparisons to here.
* gcc.dg/fold-eqcmplx-1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122767 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efa07c51c04..1cfe8e3dafa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2007-03-09 Roger Sayle <roger@eyesopen.com> + + * fold-const.c (fold_comparison): Remove compile-time evaluation of + complex constant equality/inequality comparisons for here. + (fold_binary) <EQ_EXPR>: Simplify complex comparisons that are + known at compile-time or can be simplified to a scalar comparison. + (fold_relational_const): Move compile-time evaluation of complex + constant equality/inequality comparisons to here. + 2007-03-09 Alexandre Oliva <aoliva@redhat.com> PR rtl-optimization/30643 @@ -7,7 +16,8 @@ 2007-03-09 DJ Delorie <dj@redhat.com> - * config/m32c/t-m32c (m32c-pragma.o): Add TM_H dependency to m32c-pragma.o + * config/m32c/t-m32c (m32c-pragma.o): Add TM_H dependency to + m32c-pragma.o. 2007-03-09 Aldy Hernandez <aldyh@redhat.com> |