diff options
author | Richard Guenther <rguenther@suse.de> | 2007-10-08 14:44:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-10-08 14:44:14 +0000 |
commit | 8174836f1ebff55e127300c942adf3e689d3d3d4 (patch) | |
tree | fed6dbf121ef1138a33f97ed54004b0db8ff84e0 /gcc/ChangeLog | |
parent | 7b6cb84335d934861a6058e2751435fbad61191d (diff) | |
download | gcc-8174836f1ebff55e127300c942adf3e689d3d3d4.zip gcc-8174836f1ebff55e127300c942adf3e689d3d3d4.tar.gz gcc-8174836f1ebff55e127300c942adf3e689d3d3d4.tar.bz2 |
re PR middle-end/33691 (Type checking error with bitwise and/or)
2007-10-08 Richard Guenther <rguenther@suse.de>
PR middle-end/33691
PR middle-end/33694
PR middle-end/33696
* fold-const.c (fold_binary): Use the correct types when
folding (A | CST1) & CST2 to (A & CST2) | (CST1 & CST2).
(fold_binary): Use the correct types when folding
(-A) - B to (-B) - A.
(fold_unary): Use the correct types when folding ~(X).
* gcc.dg/pr33691.c: New testcase.
* gcc.dg/pr33694.c: Likewise.
* gcc.dg/pr33696.c: Likewise.
From-SVN: r129128
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5fed689..a54a60c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2007-10-08 Richard Guenther <rguenther@suse.de> + + PR middle-end/33691 + PR middle-end/33694 + PR middle-end/33696 + * fold-const.c (fold_binary): Use the correct types when + folding (A | CST1) & CST2 to (A & CST2) | (CST1 & CST2). + (fold_binary): Use the correct types when folding + (-A) - B to (-B) - A. + (fold_unary): Use the correct types when folding ~(X). + 2007-10-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * doc/invoke.texi (Wall): fix formatting issues. |