Re: C++/24314

2012-09-07 Thread Paolo Carlini
Hi, On 09/07/2012 11:36 PM, Jason Merrill wrote: On 09/07/2012 05:07 PM, Paolo Carlini wrote: the regression of template/crash83.C because of excess errors. The latter happens because we have code in cp_parser_class_head which tries to improve error recovery for cases of missing 'template <>'

Re: C++/24314

2012-09-07 Thread Jason Merrill
On 09/07/2012 05:07 PM, Paolo Carlini wrote: the regression of template/crash83.C because of excess errors. The latter happens because we have code in cp_parser_class_head which tries to improve error recovery for cases of missing 'template <>' in explicit specializations, and, for that rather

C++/24314 (was: Re: [C++ Patch] PR 18747)

2012-09-07 Thread Paolo Carlini
On 09/07/2012 09:44 PM, Jason Merrill wrote: On 09/06/2012 06:29 PM, Paolo Carlini wrote: Ok, I did that in the below, also passes testing. This patch is OK. Great, applied. In the meanwhile I looked a bit more into C++/24314 itself, and figured out something, I'm attaching a draft-