This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: basic-improvements merge status
- From: Jan Hubicka <jh at suse dot cz>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Zack Weinberg <zack at codesourcery dot com>, gcc at gcc dot gnu dot org,libstdc++ at gcc dot gnu dot rg
- Date: Mon, 16 Dec 2002 23:23:02 +0100
- Subject: Re: basic-improvements merge status
- References: <200212162137.QAA28706@makai.watson.ibm.com>
> The GCC 3.4BIB libstdc++-v3 failure of 26_numerics/c_math.cc on
> AIX is occurring because libstdc++-v3/libmath/stubs.c functions are
> recursing.
>
> #ifndef HAVE_SINF
> float
> sinf(float x)
> {
> return (float) sin(x);
> }
> #endif
>
> is being compiled as
I think we can deal with -fno-builtin-fsin to avoid gcc from being
active on optimizing this.
The name sinf is reserved by C90 standard, so this is not valid C.
Honza