Re: [C++ PATCH] Fix ICE on invalid (PR c++/78341)

2017-01-11 Thread Jason Merrill
OK. On Tue, Jan 10, 2017 at 5:35 PM, Jakub Jelinek wrote: > Hi! > > As mentioned in the PR, cp_parser_parse_definitely may fail even when > alignas_expr actually is meaningful, e.g. when the error is due to the > missing closing paren. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok

[C++ PATCH] Fix ICE on invalid (PR c++/78341)

2017-01-10 Thread Jakub Jelinek
Hi! As mentioned in the PR, cp_parser_parse_definitely may fail even when alignas_expr actually is meaningful, e.g. when the error is due to the missing closing paren. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2017-01-10 Jakub Jelinek PR c++/78341 *