This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r130242 - in /branches/gcc-4_1-branch/gcc: Chan...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 16 Nov 2007 21:50:20 -0000
- Subject: r130242 - in /branches/gcc-4_1-branch/gcc: Chan...
Author: rguenth
Date: Fri Nov 16 21:50:20 2007
New Revision: 130242
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130242
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:
branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/pr34030.c
- copied unchanged from r130238, trunk/gcc/testsuite/gcc.c-torture/compile/pr34030.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/fold-const.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog