This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Resolve mainline builtin sqrt issues
- From: Roger Sayle <roger at eyesopen dot com>
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 Nov 2001 18:13:56 -0700 (MST)
- Subject: Re: [PATCH]: Resolve mainline builtin sqrt issues
Hi Joseph,
> Since 3.0 does not support the __builtin_fsqrt name, why reintroduce such
> an obscure undocumented feature now? I think the mainline change should
> just correspond to the branch one without continuing the __builtin_fsqrt
> name.
Alas __builtin_fsqrt *is* currently used by libstdc++'s autoconf machinery
and in libstdc++-v3/include/c_shadow/bits/std_cmath.h. And as you
pointed out in http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01919.html,
its been called __builtin_fsqrt since GCC 2.1. The cost of supporting
it is small compared to the risk of breaking its many potential users.
Roger
--