[Bug c++/35556] problem with log10 and arch x86_64
hans at svi dot nl
gcc-bugzilla@gcc.gnu.org
Fri Mar 14 11:29:00 GMT 2008
------- Comment #3 from hans at svi dot nl 2008-03-14 11:28 -------
We encountered similar problems with Apple gcc 4.2.1 in statements like:
x = log10(MY_CONSTANT);
in combination with -fast compiler option.
With option -O2 there were no problems.
When 'x' is printed like reporter earlier the problem does not occur.
The workaround x = log(MY_CONSTANT) / log(10); works as expected.
--
hans at svi dot nl changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hans at svi dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35556
More information about the Gcc-bugs
mailing list