call.c (make_temporary_var_for_ref_to_temp): Push decl into current scope.
authorNathan Sidwell <nathan@acm.org>
Fri, 5 May 2017 16:50:14 +0000 (16:50 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 5 May 2017 16:50:14 +0000 (16:50 +0000)
commit77fa3ec1b25e4f66ea87b3049c91c7249c1ec92c
tree7b7ae97564417221279c14dffcde2b45b956f0d1
parent7187a6c83a466b582c68b60c33113492ce9ee1e9
call.c (make_temporary_var_for_ref_to_temp): Push decl into current scope.

* call.c (make_temporary_var_for_ref_to_temp): Push decl into
current scope.
* lex.c (unqualified_name_lookup_error): Likewise.

From-SVN: r247645
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/lex.c