[GHC] #7575: LLVM backend does not properly widen certain literal types in call expressions

GHC cvs-ghc at haskell.org
Thu Jan 17 15:29:38 CET 2013


#7575: LLVM backend does not properly widen certain literal types in call
expressions
-------------------------------+--------------------------------------------
Reporter:  thoughtpolice       |          Owner:                 
    Type:  bug                 |         Status:  new            
Priority:  normal              |      Component:  Compiler (LLVM)
 Version:  7.7                 |       Keywords:  llvm, codegen  
      Os:  Linux               |   Architecture:  arm            
 Failure:  Compile-time crash  |      Blockedby:  7590           
Blocking:  7589                |        Related:  #7571, #7574   
-------------------------------+--------------------------------------------

Comment(by RudolfVonKrugstein):

 I discovered that when adding the signature
 {{{
 instance Num Word64 where
     (...)
     signum :: Word64 -> Word64
     (...)
 }}}

 and of course adding
 {{{
 {-# LANGUAGE InstanceSigs #-}
 }}}
 To Word.hs, it builds.

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



More information about the ghc-tickets mailing list