target/6569: sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c
Richard Henderson
rth@redhat.com
Tue May 7 10:58:00 GMT 2002
On Tue, May 07, 2002 at 10:32:54AM -0700, Mark Mitchell wrote:
> But the failing test case:
>
> extern inline int foo (void) { return 23; }
> int bar (void) { return foo (); }
> extern int foo (void) __attribute__ ((weak, alias ("xxx")));
>
> does have that form. I take it this is supposed to be legal because
> the definition is "extern inline"?
Apparently. The alias is the definition that makes it
to the object file.
It definitely skirts the boundaries of good taste. :-/
r~
More information about the Gcc-bugs
mailing list