[GHC] #9304: Floating point woes; Different behavior on Mac vs Linux
GHC
ghc-devs at haskell.org
Sun Jul 13 21:43:30 UTC 2014
#9304: Floating point woes; Different behavior on Mac vs Linux
-------------------------------------+------------------------------------
Reporter: lerkok | Owner:
Type: bug | Status: new
Priority: high | Milestone:
Component: Compiler | Version: 7.8.3
Resolution: | Keywords: floating point
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By: 9276
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by lerkok):
@carter: Ah, that's better! With "-O", I get the correct result. (i.e.,
the one that matches the Mac.)
In fact, no other flags needed. With "-O" I get the correct behavior;
regardless of -msse2/-fexcess-precision, and without "-O" I get the
incorrect one.
So, when compiled with optimizations it's correct, but not without? I'm
not sure what to make of this.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9304#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list