[GHC] #2223: Int64.toInteger

GHC trac at galois.com
Thu Apr 17 11:18:55 EDT 2008


#2223: Int64.toInteger
-------------------------------+--------------------------------------------
    Reporter:  gnezdo          |        Owner:       
        Type:  bug             |       Status:  new  
    Priority:  normal          |    Milestone:       
   Component:  Runtime System  |      Version:  6.8.2
    Severity:  major           |   Resolution:       
    Keywords:                  |     Testcase:       
Architecture:  x86             |           Os:  Linux
-------------------------------+--------------------------------------------
Changes (by gnezdo):

 * cc: wolfgang.thaller at gmx.net (added)

Comment:

 A bit of source browsing indicates this could be the patch that introduced
 the code in question.
 {{{
 Fri Nov 24 01:41:29 PST 2006  wolfgang.thaller at gmx.net
   * Support I64->I32 casts in the NCG, and use them for I64->Integer
 conversions

   We can avoid using any other long long operations in PrimOps.cmm.
   One more step towards compiling the RTS using the NCG.

 }}}

 Wolfgang, could you comment on the correctness of the proposed patch?

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


More information about the Glasgow-haskell-bugs mailing list