This is the mail archive of the gcc@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: enum built_in_function and divdc3


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


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