This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]