Builtins that don't work

David Edelsohn dje@watson.ibm.com
Thu Jul 19 14:42:00 GMT 2001


>>>>> Mark Mitchell writes:

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.

David



More information about the Libstdc++ mailing list