Re: C++ PATCH for c++/78647 (ICE-on-invalid with attribute_fallthrough_p)

2016-12-12 Thread Jakub Jelinek
On Mon, Dec 12, 2016 at 06:44:19PM +0100, Marek Polacek wrote: > Ping. > > On Mon, Dec 05, 2016 at 09:37:30PM +0100, Marek Polacek wrote: > > We were crashing on this invalid test because > > cp_parser_std_attribute_spec_seq > > in cp_parser_statement returned error_mark_node, but the subsequent

Re: C++ PATCH for c++/78647 (ICE-on-invalid with attribute_fallthrough_p)

2016-12-12 Thread Marek Polacek
Ping. On Mon, Dec 05, 2016 at 09:37:30PM +0100, Marek Polacek wrote: > We were crashing on this invalid test because cp_parser_std_attribute_spec_seq > in cp_parser_statement returned error_mark_node, but the subsequent > attribute_fallthrough_p wasn't prepared for that. > >

C++ PATCH for c++/78647 (ICE-on-invalid with attribute_fallthrough_p)

2016-12-05 Thread Marek Polacek
We were crashing on this invalid test because cp_parser_std_attribute_spec_seq in cp_parser_statement returned error_mark_node, but the subsequent attribute_fallthrough_p wasn't prepared for that. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2016-12-05 Marek Polacek