This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r128666 - 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: Sat, 22 Sep 2007 09:39:42 -0000
- Subject: r128666 - in /trunk/gcc: ChangeLog fold-const.c...
Author: rguenth
Date: Sat Sep 22 09:39:41 2007
New Revision: 128666
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128666
Log:
2007-09-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/33146
* fold-const.c (fold_binary): Use the original tree
for negating.
* tree.h (STRIP_SIGN_NOPS): Converting from or to pointer
also changes "sign".
* gcc.c-torture/compile/pr33146.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr33146.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree.h