[GHC] #5102: ghc struggles to compile a large switch statement
GHC
cvs-ghc at haskell.org
Fri Apr 8 13:23:52 CEST 2011
#5102: ghc struggles to compile a large switch statement
-------------------------------+--------------------------------------------
Reporter: espringe | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: None/Unknown
-------------------------------+--------------------------------------------
I'm trying to compile a pronunciation dictionary (cmudict) into an
application. I'm first converting the dictionary into haskell source, and
then trying to compile it.
After about 7 minutes of compiling, ghc's memory usage was in the
gigabytes and causing the computer to start heavily swap.
Attached is self contained generated source file.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5102>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list