This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r133599 - 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: Wed, 26 Mar 2008 12:37:29 -0000
- Subject: r133599 - in /trunk/gcc: ChangeLog fold-const.c...
Author: rguenth
Date: Wed Mar 26 12:37:29 2008
New Revision: 133599
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133599
Log:
2008-03-26 Richard Guenther <rguenther@suse.de>
* fold-const.c (target.h): Include.
(fold_comparison): Fold comparison of addresses of two decls
that bind locally. Consolidate address folding code.
* gcc.dg/fold-addr-1.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/fold-addr-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog