Re: [C++ Patch] PR 80186 ("ICE on C++ code with invalid constructor...")

2017-05-10 Thread Jason Merrill
> On Mon, May 8, 2017 at 7:25 AM, Paolo Carlini > wrote: >> in order to avoid this error recovery issue I think we want to check the >> return value of grok_ctor_properties, as we do in decl.c, for its only other >> use. Tested x86_64-linux. The new testcase fails with -std=c++1z because the rva

Re: [C++ Patch] PR 80186 ("ICE on C++ code with invalid constructor...")

2017-05-08 Thread Jason Merrill via gcc-patches
OK. On Mon, May 8, 2017 at 7:25 AM, Paolo Carlini wrote: > Hi, > > in order to avoid this error recovery issue I think we want to check the > return value of grok_ctor_properties, as we do in decl.c, for its only other > use. Tested x86_64-linux. > > Thanks, Paolo. > > // > >

[C++ Patch] PR 80186 ("ICE on C++ code with invalid constructor...")

2017-05-08 Thread Paolo Carlini
Hi, in order to avoid this error recovery issue I think we want to check the return value of grok_ctor_properties, as we do in decl.c, for its only other use. Tested x86_64-linux. Thanks, Paolo. // /cp 2017-05-08 Paolo Carlini PR c++/80186 * pt.c (tsubst