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: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 15 Nov 2001 01:30:41 +0000 (GMT)
- Subject: Re: [PATCH]: Resolve mainline builtin sqrt issues
On Wed, 14 Nov 2001, Roger Sayle wrote:
> 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
Obviously, libstdc++ should be fixed here when the builtin name is fixed.
> 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.
We already deliberately broke this in 3.0 - using the new major release to
do so. Given that this has generated no complaints, being indecisive and
going back on the previous removal of __builtin_fsqrt seems silly - going
back on deliberate decisions that break some code (even a large amount of
code) has generally required *many* complaints (e.g. the temporary
disabling of -fstrict-aliasing in 2.95.2).
--
Joseph S. Myers
jsm28@cam.ac.uk