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]

Re: PATCH: Table-ize builtins


On 27 May 2001, Gabriel Dos Reis wrote:

> Richard Henderson <rth@redhat.com> writes:
> 
> | On Sat, May 26, 2001 at 02:22:53PM +0100, Joseph S. Myers wrote:
> | > The builtin __builtin_fsqrt corresponds to sqrt, not fsqrt
> | > (as documented in extend.texi - I don't know why it is called
> | > __builtin_fsqrt, though).
> | 
> | We should probably change it, as it's confusing.
> 
> Is a patch to that effect will be accepted for GCC-3.0?
> Changing it in GCC-3.1 will be an ABI breakage.

The builtin has existed under the name __builtin_fsqrt since GCC 2.1 (and
was in a #if 0 block under that name back at least to 1.35), but hasn't
been documented under that name until 3.0.  If the builtin name is
changed, I think it ought to be done before 3.0.

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