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 x86_64-linux, ok for trunk?
> 
> 2017-12-19  Marek Polacek  <pola...@redhat.com>
> 
>       PR c++/83490
>       * config/i386/i386.c (init_cumulative_args): Don't check TYPE_EMPTY_P
>       on an error node.                                                    
> 
>       * g++.dg/abi/pr83490.C: New test.

Ok, thanks.

        Jakub

Reply via email to