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

--- Comment #1 from Adam Butcher <abutcher at gcc dot gnu.org> ---
Author: abutcher
Date: Mon Mar 24 20:40:15 2014
New Revision: 208799

URL: http://gcc.gnu.org/viewcvs?rev=208799&root=gcc&view=rev
Log:
Fix PR c++/60627

    PR c++/60627
    * parser.c (cp_parser_parameter_declaration_clause): Prevent 'auto' from
    introducing an implicit function template parameter within an explicit
    instantiation.

    PR c++/60627
    * g++.dg/cpp1y/pr60627.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr60627.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to