This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to fix ICE-on-invalid with -Wabi (PR c++/83490)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 19 Dec 2017 15:54:51 +0100
- Subject: Re: PATCH to fix ICE-on-invalid with -Wabi (PR c++/83490)
- Authentication-results: sourceware.org; auth=none
- References: <20171219145033.GP2605@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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 <polacek@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