diff options
author | Jan Hubicka <jh@suse.cz> | 2013-05-18 00:20:58 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-05-17 22:20:58 +0000 |
commit | e01c7cca63aa448ccf625c5201d8d9d31f2633b3 (patch) | |
tree | 53d9b1d7619f8f399786efc4b2699b0c661f580d /gcc/cgraph.c | |
parent | 8ee05051146a7a571a2a65b3205854def9a757ba (diff) | |
download | gcc-e01c7cca63aa448ccf625c5201d8d9d31f2633b3.zip gcc-e01c7cca63aa448ccf625c5201d8d9d31f2633b3.tar.gz gcc-e01c7cca63aa448ccf625c5201d8d9d31f2633b3.tar.bz2 |
lto-symtab.c (lto_symtab_merge_cgraph_nodes): Resolve cross module weakrefs.
* lto-symtab.c (lto_symtab_merge_cgraph_nodes): Resolve cross module
weakrefs.
* cgraph.c (dump_cgraph_node): Do not ice on unresolved alias.
* cgraphunit.c (handle_alias_pairs): Store target of unresolved weakrefs.
(output_weakrefs): Update.
From-SVN: r199041
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index dff3916..899f65c 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1558,7 +1558,7 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node) (int)node->thunk.virtual_value, (int)node->thunk.virtual_offset_p); } - if (node->alias && node->thunk.alias) + if (node->alias && node->thunk.alias && DECL_P (node->thunk.alias)) { fprintf (f, " Alias of %s", lang_hooks.decl_printable_name (node->thunk.alias, 2)); |