This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: __builtin_sinf and friends problem
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: __builtin_sinf and friends problem
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 18 Jun 2001 18:07:10 +0200
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <200106141709.NAA26764@makai.watson.ibm.com>
David Edelsohn <dje@watson.ibm.com> writes:
| Is __builtin_sinf() always suppose to hide the actual source of
| those functions? Or is it only suppose to be used when configure finds
| they exist? I think the latter, but a V3 header is using various builtin
| functions without checking.
__builtin_xxx are used unconditionally in std_cmath.h. Is the compiler
can't inline it then it will generate a call to a "C" function xxx.
If a system is missing a "C" function xxx, then a replacement
should be provided.
-- Gaby