[GHC] #765: x86_64 NCG goes via unsigned for FFI Int return types.

GHC trac at galois.com
Mon May 8 07:08:55 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:  closed        
  Priority:  high                         |      Milestone:                
 Component:  Compiler (NCG)               |        Version:  6.4.2         
  Severity:  normal                       |     Resolution:  invalid       
  Keywords:                               |             Os:  Linux         
Difficulty:  Unknown                      |   Architecture:  x86_64 (amd64)
------------------------------------------+---------------------------------
Changes (by simonmar):

  * resolution:  => invalid
  * status:  new => closed

Comment:

 This isn't a bug: the Haskell {{{Int}}} type corresponds to {{{HsInt}}},
 not {{{int}}}, in C land.  As noted, {{{CInt}}} works correctly.

-- 
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