cgraphunit.c (handle_alias_pairs): Also handle wekref with destination declared.
authorJan Hubicka <jh@suse.cz>
Wed, 19 Oct 2011 10:27:50 +0000 (12:27 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 19 Oct 2011 10:27:50 +0000 (10:27 +0000)
commitc9552bff091dae74d992b04fde8050e892761dae
tree4656b89b69afb0c42224eaeeaa3e0c4e8a753185
parent091751993553dae197bfda9230f15d9cb9dd86df
cgraphunit.c (handle_alias_pairs): Also handle wekref with destination declared.

* cgraphunit.c (handle_alias_pairs): Also handle wekref with destination
declared.
(output_weakrefs): New function.
* varpool.c (varpool_create_variable_alias): Handle external aliases.

From-SVN: r180181
gcc/ChangeLog
gcc/cgraphunit.c
gcc/varpool.c