Re: #16222: PPC NCG: C calling convention violated for integers smaller than word size

"GHC" <[email protected]> Mon, 04 Mar 2019 18:51:00 -0000
Newsgroups gmane.comp.lang.haskell.glasgow.bugs
Message-ID <[email protected]>
#16222: PPC NCG: C calling convention violated for integers smaller than word size
-------------------------------------+-------------------------------------
        Reporter:  trommler          |                Owner:  trommler
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.10.1
       Component:  Compiler (FFI)    |              Version:  8.7
      Resolution:                    |             Keywords:  big endian
Operating System:  Unknown/Multiple  |         Architecture:  powerpc64
 Type of failure:  Incorrect result  |            Test Case:
  at runtime                         |  primops/should_run/PrimFFIInt8
                                     |  primops/should_run/PrimFFIInt16
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |  https://gitlab.haskell.org/ghc/ghc/merge_requests/220
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"4376d8811418d91bb4d19d61801e95a449b98378/ghc" 4376d88/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="4376d8811418d91bb4d19d61801e95a449b98378"
 PPC NCG: Promote integers to word size in C calls

 Fixes #16222
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16222#comment:3>