diff options
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 5f62677..72bff5a 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2256,7 +2256,7 @@ mark_decl_referenced (tree decl) definition. */ struct cgraph_node *node = cgraph_get_create_node (decl); if (!DECL_EXTERNAL (decl) - && !node->local.finalized) + && !node->symbol.definition) cgraph_mark_force_output_node (node); } else if (TREE_CODE (decl) == VAR_DECL) @@ -5595,9 +5595,9 @@ assemble_alias (tree decl, tree target) /* Allow aliases to aliases. */ if (TREE_CODE (decl) == FUNCTION_DECL) - cgraph_get_create_node (decl)->alias = true; + cgraph_get_create_node (decl)->symbol.alias = true; else - varpool_node_for_decl (decl)->alias = true; + varpool_node_for_decl (decl)->symbol.alias = true; /* If the target has already been emitted, we don't have to queue the alias. This saves a tad of memory. */ @@ -5700,12 +5700,12 @@ dump_tm_clone_pairs (vec<tm_alias_pair> tm_alias_pairs) TM_GETTMCLONE. If neither of these are true, we didn't generate a clone, and we didn't call it indirectly... no sense keeping it in the clone table. */ - if (!dst_n || !dst_n->analyzed) + if (!dst_n || !dst_n->symbol.definition) continue; /* This covers the case where we have optimized the original function away, and only access the transactional clone. */ - if (!src_n || !src_n->analyzed) + if (!src_n || !src_n->symbol.definition) continue; if (!switched) |