------- 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

Reply via email to