diff options
Diffstat (limited to 'gcc/cp/name-lookup.c')
-rw-r--r-- | gcc/cp/name-lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index 1b755c92320..b650d7443d1 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -2269,7 +2269,7 @@ do_local_using_decl (tree decl, tree scope, tree name) if (building_stmt_tree () && at_function_scope_p ()) - add_decl_stmt (decl); + add_decl_expr (decl); oldval = lookup_name_current_level (name); oldtype = lookup_type_current_level (name); |