bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting alignof to HP-NonStop


From: Bruno Haible
Subject: Re: porting alignof to HP-NonStop
Date: Fri, 24 Dec 2010 12:12:37 +0100
User-agent: KMail/1.9.9

Joachim Schmitz wrote:
> typedef struct { char slot1; char slot2; } char_helper;

> ((size_t)__INTADDR__(&(((struct { char __slot1; char __slot2; } 
> *)0)->__slot2)))
> 
> Is not equal to
> 
> ((size_t)__INTADDR__(&(((char_helper *)0)->slot2)))
> 
> do you see why, resp. what's wrong here?

No, I don't see why. That's why I suggested that you reduce this test case
until you see why.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]