#1552: GHCi thinks large list literals impossible?
------------------------+---------------------------------------------------
Reporter: SamB | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
------------------------+---------------------------------------------------
Changes (by SamB):
* version: 6.6 => 6.6.1
Comment:
This doesn't work in 6.6.1 either, though a different error message is
given:
{{{
Prelude> :set -fth
Prelude> $(let s = replicate 26227 'x' in [| s |])
Loading package template-haskell ... linking ... done.
ghc-6.6.1: panic! (the 'impossible' happened)
(GHC version 6.6.1 for i386-unknown-linux):
linkBCO: >= 64k insns in BCO
}}}
Also, I was actually trying to use Derive to create some instance
declarations (which I want to put in a file rather than compile), rather
than just lifting a boring list into TH, but this code is much shorter.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1552>
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