This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]