[tree-ssa] Computed gotos

Zack Weinberg zack@codesourcery.com
Sun Jul 6 18:17:00 GMT 2003


Jamie Lokier <jamie@shareable.org> writes:

> Jamie Lokier wrote:
>> > Do all GCC ports provide uintptr_t?  Nice loophole, btw.
>> 
>> No, but they all support "long" or "long long" which works in practice.
>
> Sorry, I probably meant "yes", as in one of these two is a suitable
> definition of uintptr_t on all GCC targets AFAIK:
>
> 	typedef unsigned long uintptr_t;
> 	typedef unsigned long long uintptr_t;

If the first one isn't a suitable definition of uintptr_t for some
target, the ABI is broken.  (I know C99 allows
sizeof(long) < sizeof(void *). C99 is wrong.)

zw



More information about the Gcc mailing list