[GHC] #7866: floor (0/0) :: Int is different with -O0 and -O1

GHC cvs-ghc at haskell.org
Fri May 24 01:26:34 CEST 2013


#7866: floor (0/0) :: Int is different with -O0 and -O1
----------------------------------------+-----------------------------------
Reporter:  alang9                       |          Owner:                
    Type:  bug                          |         Status:  new           
Priority:  normal                       |      Component:  Compiler      
 Version:  7.6.2                        |       Keywords:                
      Os:  Linux                        |   Architecture:  x86_64 (amd64)
 Failure:  Incorrect result at runtime  |      Blockedby:                
Blocking:                               |        Related:                
----------------------------------------+-----------------------------------
Changes (by Artyom.Kazak):

 * cc: Artyom.Kazak@… (added)


Comment:

 Apparently, it’s a x64-specific bug; I can’t reproduce it with GHC 7.6.2
 on x86 Linux.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7866#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list