Re: PATCH to fix ICE-on-invalid with -Wabi (PR c++/83490)

2017-12-19 Thread Jakub Jelinek
On Tue, Dec 19, 2017 at 03:50:33PM +0100, Marek Polacek wrote: > This is an ICE-on-invalid where the code in init_cumulative_args tries to > determine if it should warn about the empty classes ABI change, but is upset > when it encounters error_mark_node. Thus fixed. > > Bootstrapped/regtested on

PATCH to fix ICE-on-invalid with -Wabi (PR c++/83490)

2017-12-19 Thread Marek Polacek
This is an ICE-on-invalid where the code in init_cumulative_args tries to determine if it should warn about the empty classes ABI change, but is upset when it encounters error_mark_node. Thus fixed. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2017-12-19 Marek Polacek PR c++