diff options
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 2ee3d18c39b..b58b9f1f8ef 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -10774,7 +10774,7 @@ tsubst_expr (tree t, tree args, tsubst_flags_t complain, tree in_decl, init = t; } - finish_decl (decl, init, NULL_TREE); + finish_decl (decl, init, NULL_TREE, NULL_TREE); } } } @@ -15577,7 +15577,7 @@ instantiate_decl (tree d, int defer_ok, /* Enter the scope of D so that access-checking works correctly. */ push_nested_class (DECL_CONTEXT (d)); - finish_decl (d, init, NULL_TREE); + finish_decl (d, init, NULL_TREE, NULL_TREE); pop_nested_class (); } else if (TREE_CODE (d) == FUNCTION_DECL) |