cgraph.c: Include lto-streamer.h
authorJan Hubicka <jh@suse.cz>
Thu, 15 Jul 2010 10:01:07 +0000 (12:01 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 15 Jul 2010 10:01:07 +0000 (10:01 +0000)
commit99fecd47f16612cb53a936a7b6b82a6fdac3b84c
tree11277a792886817993fe98270d49a0e11e619778
parent79c743005119639f4d30b82a708613a072e26681
cgraph.c: Include lto-streamer.h

* cgraph.c: Include lto-streamer.h
(change_decl_assembler_name): Work when assembler name hash is at place.
(cgraph_make_decl_local): When localizing COMDAT symbol at WPA stage, be
sure to rename it to avoid name clash.
* ipa.c (cgraph_externally_visible_p, function_and_variable_visibility):
Localize hidden symbols only when locally defined.

From-SVN: r162211
gcc/ChangeLog
gcc/cgraph.c
gcc/ipa.c