revert: fold-const.c (target.h): Include.
authorRichard Guenther <rguenther@suse.de>
Wed, 26 Mar 2008 15:07:27 +0000 (15:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 26 Mar 2008 15:07:27 +0000 (15:07 +0000)
commit2041e75c3cee7c6636283cf056c1f8f58478d393
treea91eff174d12923082c681b930fb2889f199f561
parentaefa9d43dcc6925454a258b8107e91462e60beac
revert: fold-const.c (target.h): Include.

2008-03-26  Richard Guenther  <rguenther@suse.de>

        Revert
        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.

From-SVN: r133608
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fold-addr-1.c [deleted file]