aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 6ab7891..a90e1a7 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -2363,7 +2363,7 @@ verify_cgraph_node (struct cgraph_node *node)
error ("inline clone in same comdat group list");
error_found = true;
}
- if (!node->symbol.definition && node->local.local)
+ if (!node->symbol.definition && !node->symbol.in_other_partition && node->local.local)
{
error ("local symbols must be defined");
error_found = true;