This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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