From: Jan Hubicka Date: Thu, 15 Oct 2020 11:50:22 +0000 (+0200) Subject: Also accept symbols in other partition in symtab_node::binds_to_current_def_p X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fa684fd37703d382c0a98f723fd1c8abd32b18d;p=gcc.git Also accept symbols in other partition in symtab_node::binds_to_current_def_p * symtab.c (symtab_node::binds_to_current_def_p): Also accept symbols defined in other partition. --- diff --git a/gcc/symtab.c b/gcc/symtab.c index 207c9e75890..bc2865f4121 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -2391,7 +2391,7 @@ symbol_table::symbol_suffix_separator () bool symtab_node::binds_to_current_def_p (symtab_node *ref) { - if (!definition) + if (!definition && !in_other_partition) return false; if (transparent_alias) return definition