
#10521: Wrong results in strict Word8 storage on x64 -------------------------------------+------------------------------------- Reporter: VincentBerthoux2 | Owner: rwbarton Type: bug | Status: new Priority: highest | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by rwbarton): * owner: => rwbarton Comment: In fact I did try just changing GlobalReg's Eq instance (and Ord instance) to treat `FloatReg i` and `DoubleReg i` as the same, and that did fix this issue. Doing this properly will require a bit more refactoring than that, since whether these registers overlap depends on the DynFlags, but it looks like it will be nothing too serious. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10521#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler