[GHC] #789: BCOs can only have 64k instructions

GHC trac at galois.com
Sun Dec 24 10:10:48 EST 2006


#789: BCOs can only have 64k instructions
---------------------+------------------------------------------------------
 Reporter:  simonpj  |          Owner:  igloo  
     Type:  bug      |         Status:  new    
 Priority:  low      |      Milestone:  6.6.1  
Component:  GHCi     |        Version:  6.4.2  
 Severity:  normal   |     Resolution:         
 Keywords:           |     Difficulty:  Unknown
 Testcase:           |   Architecture:  Unknown
       Os:  Unknown  |  
---------------------+------------------------------------------------------
Comment (by igloo):

 Two test cases that go wrong:

 {{{
 $ ghci -v0 -fth
 Prelude> :m + Language.Haskell.TH
 Prelude Language.Haskell.TH> let x = $( listE $ map (litE . integerL)
 [1..10000] )
 ghc-6.7: panic! (the 'impossible' happened)
   (GHC version 6.7 for i386-unknown-linux):
         linkBCO: >= 64k insns in BCO

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

 {{{
 $ ghci -v0 -fth
 Prelude> :m + Language.Haskell.TH
 Prelude Language.Haskell.TH> let x = $( listE $ map (litE . integerL)
 [1..100000] )
 ghc-6.7: panic! (the 'impossible' happened)
   (GHC version 6.7 for i386-unknown-linux):
         mkProtoBCO: stack use won't fit in 16 bits 600008

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

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


More information about the Glasgow-haskell-bugs mailing list