This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: various C++ regressions with new compiler
- From: Jason Merrill <jason at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Marcus Meissner <meissner at suse dot de>,Philipp Thomas <pthomas at suse dot de>, Andreas Jaeger <aj at suse dot de>,Michael Matz <matz at suse dot de>, Jan Hubicka <jh at suse dot de>,Andreas Schwab <schwab at suse dot de>, gcc-patches at gcc dot gnu dot org,rth at cygnus dot com, mark at codesourcery dot com
- Date: Thu, 09 May 2002 12:42:44 +0100
- Subject: Re: various C++ regressions with new compiler
- References: <20020508135515.A18955@suse.de><20020509103903.GM19486@atrey.karlin.mff.cuni.cz>
>>>>> "Jan" == Jan Hubicka <jh@suse.cz> writes:
> what happends is that i386.c is asked to pass as parameter record type with
> size of 16 but with no field decls inside (only type decls).
> I am not at all sure how this can happen, as I think only empty structures or
> classes with no non-static data can have no field_decls.
A class can have non-empty bases but not have any fields of its own. I
have thought in the past that it would make sense to model base class
subobjects as fields, but we don't.
Jason