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: various C++ regressions with new compiler


> >>>>> "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.
I see, then I guess I need to traverse all the subclasses to get information
about there the fields are placed, right?

How can I accomplish that.

Honza
> 
> Jason


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