[GHC] #4441: NCG miscompiles Double -> Float -> Double

GHC cvs-ghc at haskell.org
Tue Oct 26 11:50:46 EDT 2010


#4441: NCG miscompiles Double -> Float -> Double
---------------------------------+------------------------------------------
    Reporter:  dterei            |        Owner:  simonmar                   
        Type:  bug               |       Status:  new                        
    Priority:  normal            |    Milestone:                             
   Component:  Compiler (NCG)    |      Version:  7.1                        
    Keywords:                    |     Testcase:                             
   Blockedby:                    |   Difficulty:                             
          Os:  Unknown/Multiple  |     Blocking:                             
Architecture:  x86               |      Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------
Changes (by simonmar):

  * owner:  dterei => simonmar


Comment:

 Never mind, I see what the problem is.  The NCG is compiling
 `float2Double#` and `double2Float#` into NOP in the x86/x87 backend.

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


More information about the Glasgow-haskell-bugs mailing list