[GHC] #7571: LLVM codegen does not handle integer literals in branch conditionals.

GHC cvs-ghc at haskell.org
Sun Jan 13 10:56:53 CET 2013


#7571: LLVM codegen does not handle integer literals in branch conditionals.
--------------------------------+-------------------------------------------
Reporter:  thoughtpolice        |          Owner:  thoughtpolice   
    Type:  bug                  |         Status:  patch           
Priority:  normal               |      Component:  Compiler (LLVM) 
 Version:  7.7                  |       Keywords:  llvm, codegen   
      Os:  Unknown/Multiple     |   Architecture:  Unknown/Multiple
 Failure:  Building GHC failed  |      Blockedby:  7573            
Blocking:                       |        Related:                  
--------------------------------+-------------------------------------------
Changes (by thoughtpolice):

  * blockedby:  => 7573


Comment:

 The attached patch for the testsuite correctly tickles this condition and
 I've verified it independently on my Mac OS X machine.

 {{{

 commit 62067fcf7dd6b8da9fcc76677a1c1cb59e9eff1d
 Author: Austin Seipp <mad.one at gmail.com>
 Date:   Sun Jan 13 03:51:36 2013 -0600

     Test for Trac #7571.

     Signed-off-by: Austin Seipp <mad.one at gmail.com>

 }}}

 The patch depends on the (very simple) testsuite patch I put in #7573. So
 it's currently blocked.

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



More information about the ghc-tickets mailing list