This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Please test and report on other arches


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]