From 2fa684fd37703d382c0a98f723fd1c8abd32b18d Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 15 Oct 2020 13:50:22 +0200 Subject: [PATCH] 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. --- gcc/symtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2