[Bug c++/58650] [c++11] ICE with invalid friend declaration
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 16 23:29:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58650
--- Comment #1 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Dec 16 23:28:31 2014
New Revision: 218801
URL: https://gcc.gnu.org/viewcvs?rev=218801&root=gcc&view=rev
Log:
/cp
2014-12-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58650
* parser.c (cp_parser_member_declaration): Fix error recovery for
initialized non-static data member declared friend.
/testsuite
2014-12-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/58650
* g++.dg/parse/friend12.C: New.
Added:
trunk/gcc/testsuite/g++.dg/parse/friend12.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list