aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r--gcc/tree-nested.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c
index 0d56779..dc63ef6 100644
--- a/gcc/tree-nested.c
+++ b/gcc/tree-nested.c
@@ -701,11 +701,11 @@ check_for_nested_with_variably_modified (tree fndecl, tree orig_fndecl)
for (cgn = cgn->nested; cgn ; cgn = cgn->next_nested)
{
- for (arg = DECL_ARGUMENTS (cgn->symbol.decl); arg; arg = DECL_CHAIN (arg))
+ for (arg = DECL_ARGUMENTS (cgn->decl); arg; arg = DECL_CHAIN (arg))
if (variably_modified_type_p (TREE_TYPE (arg), orig_fndecl))
return true;
- if (check_for_nested_with_variably_modified (cgn->symbol.decl,
+ if (check_for_nested_with_variably_modified (cgn->decl,
orig_fndecl))
return true;
}
@@ -724,7 +724,7 @@ create_nesting_tree (struct cgraph_node *cgn)
info->var_map = pointer_map_create ();
info->mem_refs = pointer_set_create ();
info->suppress_expansion = BITMAP_ALLOC (&nesting_info_bitmap_obstack);
- info->context = cgn->symbol.decl;
+ info->context = cgn->decl;
for (cgn = cgn->nested; cgn ; cgn = cgn->next_nested)
{
@@ -2630,8 +2630,8 @@ static void
gimplify_all_functions (struct cgraph_node *root)
{
struct cgraph_node *iter;
- if (!gimple_body (root->symbol.decl))
- gimplify_function_tree (root->symbol.decl);
+ if (!gimple_body (root->decl))
+ gimplify_function_tree (root->decl);
for (iter = root->nested; iter; iter = iter->next_nested)
gimplify_all_functions (iter);
}