This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r143656 - 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: Sat, 24 Jan 2009 23:26:57 -0000
- Subject: r143656 - in /branches/gcc-4_3-branch/gcc: Chan...
Author: rguenth
Date: Sat Jan 24 23:26:56 2009
New Revision: 143656
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143656
Log:
2009-01-25 Richard Guenther <rguenther@suse.de>
Backport from mainline:
2008-12-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38359
* fold-const.c (fold_binary): Fold -1 >> x to -1 only for
non-negative x.
* gcc.c-torture/compile/pr38359.c: New testcase.
* gcc.c-torture/execute/shiftopt-1.c: Adjust.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/pr38359.c
- copied unchanged from r142357, trunk/gcc/testsuite/gcc.c-torture/compile/pr38359.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
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/shiftopt-1.c