[GHC] #11792: Optimised unsafe FFI call can get wrong argument

GHC ghc-devs at haskell.org
Thu May 26 16:34:52 UTC 2016


#11792: Optimised unsafe FFI call can get wrong argument
-------------------------------------+-------------------------------------
        Reporter:  Szunti            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2263
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 This is unrelated to global registers, in fact.  There is a related issue
 with global registers which is described here:
 https://phabricator.haskell.org/diffusion/GHC/browse/master/compiler/cmm/CmmNode.hs;e9e61f18a548b70693f4ccd245bc56335c94b498$205-218
 But the issue here is different: see my comment on the diff.

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


More information about the ghc-tickets mailing list