This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60064] [c++1y] ICE with auto as parameter of friend function
- From: "abutcher at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Feb 2014 22:30:27 +0000
- Subject: [Bug c++/60064] [c++1y] ICE with auto as parameter of friend function
- Auto-submitted: auto-generated
- References: <bug-60064-4 at http dot gcc dot gnu dot org/bugzilla/>
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