fix compile/20010327-1.c change

Richard Henderson rth@redhat.com
Tue Nov 13 15:03:00 GMT 2001


On Wed, Nov 14, 2001 at 06:31:45PM -0800, Geoffrey Keating wrote:
> -static __SIZE_TYPE__ x = (__SIZE_TYPE__) &_text - 0x10000000L - 1;
> +static unsigned long x = (unsigned long) &_text - 0x10000000L - 1;

This fails when sizeof(long) > sizeof(void*).


r~



More information about the Gcc-patches mailing list