This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: [testcase] Simplified testcases why current gcc trunk cannot compile glibc


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~


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