ipa-reference.c (add_static_var): Remove redundant all_module_statics check.
authorJan Hubicka <jh@suse.cz>
Fri, 28 May 2010 15:56:16 +0000 (17:56 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 28 May 2010 15:56:16 +0000 (15:56 +0000)
commitdf24c2b88d3ca69d5a7fe29d8a527714fb3aec16
tree08c90220d0cfdceddc947963eabaabf4be929223
parentc3a9a336d0552e81136f97dd22e8e1f7e8fd9216
ipa-reference.c (add_static_var): Remove redundant all_module_statics check.

* ipa-reference.c (add_static_var): Remove redundant all_module_statics check.
(ipa_reference_write_optimization_summary): Call is_proper_for_analysis only
on local statics.

From-SVN: r159982
gcc/ChangeLog
gcc/ipa-reference.c