Ticket #1397 (closed bug: fixed)
GHC blows up while compiling Language.Haskell.TH.Syntax with -O2
| Reported by: | simonmar | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 6.8.1 |
| Component: | Compiler | Version: | 6.7 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
