[GHC] #765: x86_64 NCG goes via unsigned for FFI Int return
types.
GHC
trac at galois.com
Sun May 7 11:12:54 EDT 2006
#765: x86_64 NCG goes via unsigned for FFI Int return types.
------------------------------------------+---------------------------------
Reporter: duncan.coutts at worc.ox.ac.uk | Owner:
Type: bug | Status: new
Priority: high | Milestone:
Component: Compiler (NCG) | Version: 6.4.2
Severity: normal | Resolution:
Keywords: | Os: Linux
Difficulty: Unknown | Architecture: x86_64 (amd64)
------------------------------------------+---------------------------------
Comment (by guest):
Note that if we declare the foreign import with CInt then we get the right
answer.
{{{
foreign import ccall unsafe "c_id" c_id :: CInt -> IO CInt
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/765>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list