#5965: pref-llvm failed at integer-gmp-0.3.0.0: stored value and pointer type do
not match
-------------------------------+--------------------------------------------
    Reporter:  Favonia         |        Owner:  dterei             
        Type:  bug             |       Status:  closed             
    Priority:  normal          |    Component:  Compiler (LLVM)    
     Version:  7.5             |   Resolution:  fixed              
    Keywords:                  |           Os:  Linux              
Architecture:  x86_64 (amd64)  |      Failure:  Building GHC failed
    Testcase:                  |    Blockedby:                     
    Blocking:                  |      Related:                     
-------------------------------+--------------------------------------------
Changes (by dterei):

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


Comment:

 OK recent win64 fixes by Ian did this, specifically:
 216150a6dc2c59a5ade398cad849a0c093572d12

 He truncates an Long (64bit) to an Int (32bit) and stores it back in a
 Long. As this is in Cmm which plugs directly into the backends you can't
 have automatic type conversion like this with LLVM (NCG doesn't care).
 I've changed the storage type to be an Int as well, see commit:
 121cd52f9ae00ff0d6d072cc51939fb887db3fba

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to