
On Thu, Apr 21, 2011 at 10:43 AM, Daniel Fischer
On Thursday 21 April 2011 17:18:47, Chris Kuklewicz wrote:
I tried "ghc --make -fforce-recomp simpleTest.hs" with -O0 and -O1 and -O2 on OS X with 64-bit ghc-7.0.3
All versions ran without printing errors.
I seem to recall that GHC produces sse2 code on x86_64. If that's correct, the effect probably won't be reproducible on that architecture, since it doesn't occur with -msse2 on x86 either (well, at least on my machine).
This is GHC 7.0.3 on Windows XP 32-bit: $ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.0.3 $ ls cabal-dev bin cabal.config doc logs packages packages-7.0.3.conf primitive-0.3.1 vector-0.7.0.1 vector-algorithms-0.4 $ ./cabal-dev/bin/test.exe After sorting: 674 NaNs.