[Bug c++/60064] [c++1y] ICE with auto as parameter of friend function
abutcher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 18 22:30:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60064
--- Comment #2 from Adam Butcher <abutcher at gcc dot gnu.org> ---
Author: abutcher
Date: Tue Feb 18 22:29:56 2014
New Revision: 207856
URL: http://gcc.gnu.org/viewcvs?rev=207856&root=gcc&view=rev
Log:
Fix PR c++/60064.
PR c++/60064
* parser.c (cp_parser_member_declaration): Pop fully implicit template
scope for generic friend declarations as well as for non-friends.
PR c++/60064
* g++.dg/cpp1y/pr60064.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/pr60064.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list