This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [testcase] Simplified testcases why current gcc trunk cannot compile glibc
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [testcase] Simplified testcases why current gcc trunk cannot compile glibc
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 15 Oct 2001 12:57:46 -0700
- Cc: gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com, libc-alpha at sources dot redhat dot com
- References: <20011015145323.A567@sunsite.ms.mff.cuni.cz>
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~