TYPE_BINFO and canonical types at LTO

Jason Merrill jason@redhat.com
Thu Feb 20 20:49:00 GMT 2014


On 02/15/2014 05:09 AM, Richard Biener wrote:
> On Sat, 15 Feb 2014, Jan Hubicka wrote:
>> The code really seems to be adding only cases of zero sized classes.
>
> zero-size as in with no fields?  Then we can't do anything with such
> classes and thus we don't need to record component aliases?

Right.  The TYPE_SIZE of an empty class is still 1, but a base of such a 
type doesn't get a FIELD_DECL.

Jason



More information about the Gcc mailing list