This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: enum built_in_function and divdc3
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Cc: gcc at gcc dot gnu dot org, rth at redhat dot com
- Date: Sun, 6 Feb 2011 18:46:09 +0000 (UTC)
- Subject: Re: enum built_in_function and divdc3
- References: <20110206161221.GA4211@bromo.med.uc.edu>
On Sun, 6 Feb 2011, Jack Howarth wrote:
> Richard,
> The ___divdc3 symbol on Snow Leopard in libSystem is less accurate
> than that in FSF libgcc (PR42333). We plan to use DECLARE_LIBRARY_RENAMES
> to provide an alternative symbol ___ieee_divdc3 to access the FSF libgcc
> ___divdc3 symbol when libSystem.dylib is linked first and !flag_unsafe_math_optimization.
Do you have a clear characterization of "less accurate" that indicates
that flag_unsafe_math_optimizations is the appropriate flag? (The whole
point of this function is to avoid problems with a naive implementation
such as is used under -fcx-limited-range, so if the libSystem function
simply implements the -fcx-limited-range method then it would never make
sense to use it at all.)
--
Joseph S. Myers
joseph@codesourcery.com