diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-05 16:51:37 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-05 14:51:37 +0000 |
commit | 51a5c0c2b26ff09ceba355b45dedde5bac1b0560 (patch) | |
tree | 55b33a90f0a48abd0d1d39a094f6327004fbb3b0 /gcc/cgraph.c | |
parent | 65f0a1207d8127d07a33089379bfd962f600bd19 (diff) | |
download | gcc-51a5c0c2b26ff09ceba355b45dedde5bac1b0560.zip gcc-51a5c0c2b26ff09ceba355b45dedde5bac1b0560.tar.gz gcc-51a5c0c2b26ff09ceba355b45dedde5bac1b0560.tar.bz2 |
re PR lto/57602 (Runfails for several C/C++ benchmarks from spec2000 for i686 with -flto after r199422)
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.
From-SVN: r201492
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 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; |