[GHC] #12614: Integer division can overwrite other arguments to foreign call

GHC ghc-devs at haskell.org
Sat Sep 24 13:52:20 UTC 2016


#12614: Integer division can overwrite other arguments to foreign call
-------------------------------------+-------------------------------------
        Reporter:  jscholl           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (NCG)    |              Version:  8.0.1
      Resolution:                    |             Keywords:  integer
                                     |  division
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hsyl20):

 This looks very similar to #11792. Isn't the foreign call unsafe in your
 test case?

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


More information about the ghc-tickets mailing list