This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: Builtins that don't work



> Mark> PR 3474 is about a problem with __builtin_sqrtf on Solaris.  In particular,
> Mark> if the call fails, we fall back to `sqrtf' -- but there is no such routine
> Mark> on Solaris.  This shows up more now than it used to because V3 defines
> Mark> sqrtf in terms of __builtin_sqrtf.
> 
>         Isn't this solved by :
> 2001-06-24  Gabriel Dos Reis  <gdr@codesourcery.com>
>             David Edelsohn <dje@watson.ibm.com>
>         * libmath/stubs.c: New file.
>         * libmath/Makefile.am (libmath_la_SOURCES): Add stubs.c.
>         * libmath/Makefile.in: Regenerate.
> which now defines the single-precision routines which are assumed to be
> present.  I closed my PR, but I did not check if others had encountered
> the same problem.

PR 3474 was closed by the patch, but the same problem persists for the
long double functions sqrtl et al., see PR 3646. It should be able to fix
it in the same manner as the other case.

Regards
  Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth          email: wolfgang.bangerth@iwr.uni-heidelberg.de
                             www: http://gaia.iwr.uni-heidelberg.de/~wolf



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