diff options
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index 0a42109065c..ecefee1f8b8 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -5009,7 +5009,7 @@ free_lang_data_in_decl (tree decl) { struct cgraph_node *node; if (!(node = cgraph_get_node (decl)) - || (!node->symbol.definition && !node->clones)) + || (!node->definition && !node->clones)) { if (node) cgraph_release_function_body (node); @@ -5423,14 +5423,14 @@ find_decls_types_in_node (struct cgraph_node *n, struct free_lang_data_d *fld) unsigned ix; tree t; - find_decls_types (n->symbol.decl, fld); + find_decls_types (n->decl, fld); - if (!gimple_has_body_p (n->symbol.decl)) + if (!gimple_has_body_p (n->decl)) return; gcc_assert (current_function_decl == NULL_TREE && cfun == NULL); - fn = DECL_STRUCT_FUNCTION (n->symbol.decl); + fn = DECL_STRUCT_FUNCTION (n->decl); /* Traverse locals. */ FOR_EACH_LOCAL_DECL (fn, ix, t) @@ -5486,7 +5486,7 @@ find_decls_types_in_node (struct cgraph_node *n, struct free_lang_data_d *fld) static void find_decls_types_in_var (struct varpool_node *v, struct free_lang_data_d *fld) { - find_decls_types (v->symbol.decl, fld); + find_decls_types (v->decl, fld); } /* If T needs an assembler name, have one created for it. */ |