Ticket #1397 (closed bug: fixed)
GHC blows up while compiling Language.Haskell.TH.Syntax with -O2
|Reported by:||simonmar||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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.