This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r181152 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
- From: dodji at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 08 Nov 2011 10:27:35 -0000
- Subject: r181152 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
Author: dodji
Date: Tue Nov 8 10:27:34 2011
New Revision: 181152
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181152
Log:
Fix context handling of alias-declaration
gcc/cp/
* decl.c (start_decl): Update comment.
* error.c (dump_alias_template_specialization): Dump the context
of the specialization.
* parser.c (cp_parser_alias_declaration): Call pop_scope on the
pushed scope yielded by start_decl.
gcc/testsuite
* g++.dg/cpp0x/alias-decl-11.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-11.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/error.c
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog