This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r130238 - in /trunk/gcc: ChangeLog fold-const.c...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 16 Nov 2007 21:34:39 -0000
- Subject: r130238 - in /trunk/gcc: ChangeLog fold-const.c...
Author: rguenth
Date: Fri Nov 16 21:34:39 2007
New Revision: 130238
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130238
Log:
2007-11-16 Richard Guenther <rguenther@suse.de>
PR middle-end/34030
* fold-const.c (fold_binary): Use correct types for folding
1 << X & Y to Y >> X & 1.
* gcc.c-torture/compile/pr34030.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr34030.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog