Patch: enable log(e)->1.0 only if flag_unsafe_math_optimizations

Jim Wilson wilson@specifixinc.com
Thu Sep 11 22:39:00 GMT 2003


Kaveh R. Ghazi wrote:
> 	* builtins.c (fold_builtin_logarithm): if N can't be truncated to
> 	MODE exactly, then only convert logN(N) -> 1.0 if
> 	flag_unsafe_math_optimizations is set.

OK

-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc-patches mailing list