GHC blows up while compiling Language.Haskell.TH.Syntax with -O2
When compiling Language.Haskell.TH.Syntax, GHC grows to over 2Gb here on x86-64. This is a stage1 compiler, built by GHC 6.6.1. This bug has apparently been introduced recently, because we're seeing out-of-memory errors where we weren't previously, but I haven't been able to track down when it was introduced yet.
Looking at the -v2 output, the Core size jumps first for FloatInward (3x), and then for LiberateCase (10x). After LiberateCase, GHC keeps on growing - perhaps there's also a space leak exacerbating the problem.
Trac metadata
Trac field | Value |
---|---|
Version | 6.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | high |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |