This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Please test and report on other arches
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: Please test and report on other arches
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Mon, 12 Mar 2001 17:04:33 -0600 (CST)
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
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