[GHC] #16222: PPC NCG: C calling convention violated for integers smaller than word size

GHC ghc-devs at haskell.org
Mon Mar 4 18:51:00 UTC 2019


#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>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list