Re: [C++ PATCH] Fix ICE during C++11 lambda error recovery (PR c++/77791)

2016-10-04 Thread Jason Merrill
OK. On Mon, Oct 3, 2016 at 1:32 PM, Jakub Jelinek wrote: > Hi! > > In param_list some entries could be error_mark_node, we should just ignore > those. ALso, this patch optimizes by testing cxx_dialect < cxx14 just once. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > >

[C++ PATCH] Fix ICE during C++11 lambda error recovery (PR c++/77791)

2016-10-03 Thread Jakub Jelinek
Hi! In param_list some entries could be error_mark_node, we should just ignore those. ALso, this patch optimizes by testing cxx_dialect < cxx14 just once. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2016-10-03 Jakub Jelinek PR c++/77791 * parser.c (c