This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r246771 - in /branches/c++-modules: ChangeLog.m...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 07 Apr 2017 17:57:25 -0000
- Subject: r246771 - in /branches/c++-modules: ChangeLog.m...
Author: nathan
Date: Fri Apr 7 17:57:25 2017
New Revision: 246771
URL: https://gcc.gnu.org/viewcvs?rev=246771&root=gcc&view=rev
Log:
Fix bogus scope handling
gcc/cp/
* call.c (make_temporary_var_for_ref_to_temp): Push temp into
current scope.
* decl.c (xref_tag_1): Pass ts_lambda to pushtag.
* name-lookup (do_pushtag): Deal with ts_lambda scope.
gcc/testsuite
* g++.dg/cpp0x/forw_enum9.C: Fix testcase.
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/call.c
branches/c++-modules/gcc/cp/decl.c
branches/c++-modules/gcc/cp/name-lookup.c
branches/c++-modules/gcc/testsuite/g++.dg/cpp0x/forw_enum9.C