-ffast-math option live up to its name?

Tim Prince n8tm@aol.com
Wed Dec 15 14:42:00 GMT 2010


On 12/15/2010 12:26 AM, Miles Bader wrote:
> If -ffast-math causes you too many problems, the component options can
> be very useful too, e.g., -fno-math-errno...
That one was put in largely for the benefit of Fortran, where it's set 
by default.  In particular, when you turn off math-errno, 
single-instruction intrinsics such as sqrt() can be employed without 
checking for exceptions and re-trying with a library function which sets 
ERRNO.  Still seems unlikely to be relevant to Mozilla.

-- 
Tim Prince



More information about the Gcc-help mailing list