Re: [C++ Patch] PR 50309

2011-09-07 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 50309

2011-09-07 Thread Paolo Carlini
On 09/07/2011 06:41 PM, Jason Merrill wrote: On 09/07/2011 06:37 AM, Paolo Carlini wrote: I have the below simple patch to avoid the ICE after error. Tested x86_64-linux. Is it Ok? In case, if it applies as-is, 4_6-branch too? I think this is a recoverable error; if the exception-specification i

Re: [C++ Patch] PR 50309

2011-09-07 Thread Jason Merrill
On 09/07/2011 06:37 AM, Paolo Carlini wrote: I have the below simple patch to avoid the ICE after error. Tested x86_64-linux. Is it Ok? In case, if it applies as-is, 4_6-branch too? I think this is a recoverable error; if the exception-specification is ill-formed, let's pretend there wasn't on

[C++ Patch] PR 50309

2011-09-07 Thread Paolo Carlini
Hi, I have the below simple patch to avoid the ICE after error. Tested x86_64-linux. Is it Ok? In case, if it applies as-is, 4_6-branch too? Thanks, Paolo. /cp 2011-09-07 Paolo Carlini PR c++/50309 * decl.c (grokdeclarator): Check u.function.exception_spec