This is the mail archive of the gcc@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: 4.0 regression: g++ class layout on PPC32 has changed



On Apr 4, 2005, at 2:33 PM, Andrew Pinski wrote:



On Apr 4, 2005, at 1:01 PM, Andrew Haley wrote:


Giovanni Bajo writes:
Is __alignof__( ::java::lang::Object ) the same under 3.4 and 4.0 in the
first place?

Yes, 4 in both cases.


And here is the most reduced testcase (and it shows that the C and C++
front-ends don't agree any more which is bad):

Using the following compile time testcase (only for x86-pc-linux-gnu): typedef struct Parent { long long m; int *scratch; void * __attribute__((aligned(8))) this$0; }Parent;

int f[sizeof(Parent)!=24?-1:1];

I found that this started to be rejected between 2004-06-22-trunk (#470) and 2004-06-24-trunk (#471).

I used Phil's regression hunter: <http://www.devphil.com/~reghunt/>.

Thanks,
Andrew Pinski


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