
#12433: GHCi produces incorrect results when evaluating with compiled code -------------------------------------+------------------------------------- Reporter: diatchki | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 8.0.2 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: ghci, dynamic | linking, compiled code Operating System: Linux | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonmar): * owner: => simonmar Comment: I think I see the problem: `genSwitch` is assuming that it can modify the register it got from evaluating the scrutinee, but it has no right to do that. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12433#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler