This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r132712 - in /branches/gcc-4_3-branch/gcc: Chan...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 27 Feb 2008 14:12:36 -0000
- Subject: r132712 - in /branches/gcc-4_3-branch/gcc: Chan...
Author: rguenth
Date: Wed Feb 27 14:12:33 2008
New Revision: 132712
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132712
Log:
2008-02-27 Richard Guenther <rguenther@suse.de>
PR middle-end/35390
* fold-const.c (fold_unary): Return the correct argument,
converted to the result type.
* gcc.c-torture/execute/pr35390.c: New testcase.
PR middle-end/34971
* fold-const.c (fold_binary): Use the types precision, not the
bitsize of the mode if folding rotate expressions. Build rotates
only for full modes.
* gcc.c-torture/execute/pr34971.c: New testcase.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr34971.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr35390.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/fold-const.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog