Please test and report on other arches
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Mon Mar 12 15:04:00 GMT 2001
In article < 200103121649.IAA32088@bromo.med.uc.edu > you write:
>#include <stdio.h>
>
>extern void *foo __attribute__ ((__weak__));
>
>main ()
>{
> printf ("foo: %p\n", &foo == NULL ? NULL : foo);
>}
> It would be helpful to have this tested performed on both gcc 2.95.3
> and gcc 3.0 branch if possible on each arch to verify this problem
> is indeed cross-platform as suspected.
Your example works fine for -O2 and -O1 against 2.95.x amd 3.0 on
alpha-*-freebsd* and i386-*-freebsd*.
Regards,
Loren
More information about the Gcc-bugs
mailing list