[Bug c++/59113] [c++1y] ICE using auto as parameter in local function
abutcher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 25 07:44:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59113
--- Comment #1 from abutcher at gcc dot gnu.org ---
Author: abutcher
Date: Mon Nov 25 07:43:55 2013
New Revision: 205343
URL: http://gcc.gnu.org/viewcvs?rev=205343&root=gcc&view=rev
Log:
Disallow implicit function templates in local functions unless defining a
lambda.
gcc/cp/
PR c++/59112
PR c++/59113
* parser.c (cp_parser_parameter_declaration_clause): Disallow implicit
function templates in local functions unless defining a lambda.
gcc/testsuite/
PR c++/59112
PR c++/59113
g++.dg/cpp1y/pr58533.C: Updated testcase.
g++.dg/cpp1y/pr59112.C: New testcase.
g++.dg/cpp1y/pr59113.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/pr59112.C
trunk/gcc/testsuite/g++.dg/cpp1y/pr59113.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp1y/pr58533.C
More information about the Gcc-bugs
mailing list