This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: PR7455: What is expected behavior for #pragma weak.


On Sun, Jan 11, 2004 at 07:39:13PM -0500, Ian Lance Taylor wrote:
> Note that
> 
> extern int bar (void) __attribute__ ((weak, alias ("foo")));
> 
> should emit bar as a weak alias for foo--and, in the current sources,
> it does.

It should also generate an error if foo is never defined.


r~


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