[testcase] Simplified testcases why current gcc trunk cannot compile glibc
Richard Henderson
rth@redhat.com
Mon Oct 15 12:57:00 GMT 2001
On Mon, Oct 15, 2001 at 02:53:23PM +0200, Jakub Jelinek wrote:
> Below are 2 tests, the first one passes with current gcc trunk, the second
> one does not (it simply decides not to emit foo at all).
> I'd like to know if you think it is a bug in gcc or not.
We definitely want some mechanism by which we force static
functions to be emitted -- referencing C from assembly like
this is not uncommon.
I guess __attribute__((unused)) seems as good a way as any.
r~
More information about the Libc-alpha
mailing list