gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] Re: posible issue on ia64 with va_args.


From: Miles Bader
Subject: [Gnu-arch-users] Re: posible issue on ia64 with va_args.
Date: 12 Mar 2004 10:47:45 +0900

Jan Hudec <address@hidden> writes:
> IIRC it's only specified, that any type shorter than integer will be
> promoted to size of integer. And NO relation between sizeof(int),
> sizeof(long) and sizeof(void *) is claimed by specification whatsoever!
> 
> It is known to hold on all widely used platforms that sizeof(int) <=
> sizeof(void *) <= sizeof(long), but no stricter relation holds.

Even when that relation holds, this particular case can screw you; for
it to `work', you need sizeof (int) == sizeof (whatever_ptr).

-Miles
-- 
"Most attacks seem to take place at night, during a rainstorm, uphill,
 where four map sheets join."   -- Anon. British Officer in WW I




reply via email to

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