#2156: compilation math/truncate bug with optimization enabled
-------------------------+--------------------------------------------------
Reporter: trevorm | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.2
Severity: critical | Resolution:
Keywords: | Testcase:
Architecture: x86 | Os: Linux
-------------------------+--------------------------------------------------
Comment (by dons):
On a core 2 duo, I'm unable to reproduce this:
{{{
$ ghc --make A.hs -o A -no-recomp
$ ./A
3
$ ghc --make -O2 A.hs -o A -no-recomp
$ ./A
3
$ ghc --make -O2 -fvia-C A.hs -o A -no-recomp
$ ./A
3
$ ghc --make -O2 -fvia-C -optc-O9 A.hs -o A -no-recomp
$ ./A
3
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2156#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs