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

GHC ghc-devs at haskell.org
Tue Sep 27 15:20:04 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):

 I have fixed both this issue and #11792 in Phab:D2263. I have added your
 failing example (extended to test pushed args) as a test too.

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


More information about the ghc-tickets mailing list