OK.
Jason
... oops attached the patch which I just committed. Sorry. Right
attachments below.
Thanks,
Paolo.
//
/cp
2013-10-02 Paolo Carlini
PR c++/58535
* parser.c (cp_parser_function_specifier_opt): Upon error about
virtual templates don't set ds_virtual
Hi,
in this [4.8/4.9] diagnostic regression the gcc_assert in
check_member_templates trips:
/* The parser rejects any use of virtual in a function template. */
gcc_assert (!(TREE_CODE (decl) == FUNCTION_DECL
&& DECL_VIRTUAL_P (decl)));
the ultimate reason being that i