------- Comment #5 from pinskia at gmail dot com  2008-10-07 10:45 -------
Subject: Re:  Member variable of empty base optimized (EBO) class appears on
wrong offset

Iirc there are some pod vs non pod issues here dealing wit padding and  
the c++ standard and not even the abi.

Sent from my iPhone

On Oct 7, 2008, at 2:31 AM, "david dot rosenborg at pantor dot com"
<[EMAIL PROTECTED] 
 > wrote:

>
>
> ------- Comment #3 from david dot rosenborg at pantor dot com   
> 2008-10-07 09:31 -------
> Ah, no, I wasn't aware of that document. I just thought that gcc was  
> treating
> the Good and Bad cases inconsitently.
>
> Now, in layman's terms, is the reason for the padding that no two  
> distinct
> instances of Empty may share the same address? If that is the case,  
> it would
> explain the padding and this is not a bug.
>
> Sorry, should have investigated more before hitting the commit button.
>
> /David
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37762
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37762

Reply via email to