#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 taruti):

 i386 Debian system with GHC 6.8.2 (athlon xp 2ghz if relevant)

 [EMAIL PROTECTED]:/tmp$ ghc --make a.hs -o a -no-recomp && ./a
 [1 of 1] Compiling Main             ( a.hs, a.o )
 Linking a ...
 3
 [EMAIL PROTECTED]:/tmp$ ghc --make a.hs -o a -no-recomp -O2 -fasm && ./a
 [1 of 1] Compiling Main             ( a.hs, a.o )
 Linking a ...
 2
 [EMAIL PROTECTED]:/tmp$ ghc --make a.hs -o a -no-recomp -O2 -fvia-c && ./a
 [1 of 1] Compiling Main             ( a.hs, a.o )
 Linking a ...
 3

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2156#comment:2>
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

Reply via email to