re PR middle-end/27781 (weak-attribute over-optimisation)
authorRichard Guenther <rguenther@suse.de>
Thu, 15 Jun 2006 17:23:41 +0000 (17:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 15 Jun 2006 17:23:41 +0000 (17:23 +0000)
commit5d35c1715c44c574a5d75bac53c97a1ecfbc949a
treebf71461032c06919367509fa737fb0306b9ff826
parent11f7dd15f1893b04b07965f7cc8a6bfa9459ac9b
re PR middle-end/27781 (weak-attribute over-optimisation)

2006-06-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/27781
* Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
* ipa-pure-const.c (target.h): Include.
(analyze_function): Do not analyze functions that do not
        bind locally.

* gcc.dg/tree-ssa/pr27781.c: New testcase.

From-SVN: r114681
gcc/ChangeLog
gcc/Makefile.in
gcc/ipa-pure-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr27781.c [new file with mode: 0644]