Builtins that don't work

Mark Mitchell mark@codesourcery.com
Thu Jul 19 14:49:00 GMT 2001


--On Thursday, July 19, 2001 05:41:26 PM -0400 David Edelsohn 
<dje@watson.ibm.com> wrote:

>>>>>> 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 :

It doesn't solve the underlying issue (should __builtin_sqrtf
even exist on a target without sqrtf?), but it definitely looks like it
should solve the PR that inspired 3474.  Thanks for the pointer; I will
verify that it is fixed.

Then, we will be back in the state we were in with GCC 2.95.x, which is
definitely an improvement, at least.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Libstdc++ mailing list