diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-05 14:51:37 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-05 14:51:37 +0000 |
commit | 281dea26b597bc6c20d61a2dd154ec187e6c079c (patch) | |
tree | 55b33a90f0a48abd0d1d39a094f6327004fbb3b0 /gcc/cgraph.c | |
parent | 4e765d3cf6ff06564b1759235bee5e325746f15f (diff) | |
download | gcc-281dea26b597bc6c20d61a2dd154ec187e6c079c.tar.gz |
PR lto/57602
* cgraph.c (verify_cgraph_node): Accept local flags from other partitions.
* ipa.c (symtab_remove_unreachable_nodes): Do not clear local flag.
(function_and_variable_visibility): Likewise.
* trans-mem.c (ipa_tm_create_version): TM versions are not local.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201492 138bc75d-0d04-0410-961f-82ee72b054a4
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 6ab7891ec8f..a90e1a73ff1 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; |