This is the mail archive of the
mailing list for the libstdc++ project.
Re: basic-improvements merge status
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Zack Weinberg <zack at codesourcery dot com>, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 16 Dec 2002 17:38:56 -0500
- Subject: Re: basic-improvements merge status
>>>>> Jan Hubicka writes:
>> #ifndef HAVE_SINF
>> sinf(float x)
>> return (float) sin(x);
>> is being compiled as
Jan> I think we can deal with -fno-builtin-fsin to avoid gcc from being
Jan> active on optimizing this.
Jan> The name sinf is reserved by C90 standard, so this is not valid C.
foo (float x)
return (float) sin(x);
always should be valid without the user having to specify -fno-builtin, as
your change requires on systems without sinf(). stubs.c could be compiled
with -fno-builtin, but that's just covering up the incorrect assumption in