http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18747

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-08-31 
21:35:38 UTC ---
Author: jason
Date: Fri Aug 31 21:35:33 2012
New Revision: 190842

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190842
Log:
    PR c++/18747
    * pt.c (check_template_variable): New.
    (num_template_headers_for_class): Split out...
    * decl.c (grokdeclarator): ...from here.
    (start_decl): Remove redundant diagnostic.
    * cp-tree.h: Declare them
    * parser.c (cp_parser_single_declaration): Call check_template_variable.
.

Added:
    trunk/gcc/testsuite/g++.dg/parse/error50.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to