[GHC] #10491: Regression, simplifier explosion with Accelerate, cannot compile, increasing tick factor is not a workaround

GHC ghc-devs at haskell.org
Thu Jun 18 11:22:31 UTC 2015


#10491: Regression, simplifier explosion with Accelerate, cannot compile,
increasing tick factor is not a workaround
-------------------------------------+-------------------------------------
        Reporter:  robertce          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  highest           |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Replying to [comment:16 George]:
 >
 > I was able to compile it with -fsimpl-tick-factor=150, not sure if
 memory use was reasonable, cpu usage was close to 100%. As I wrote above:
 >
 >  when I do
 >
 >  ghc -O2 -fsimpl-tick-factor=150 Slice.hs
 >
 > it quickly uses over 11G of memory. I'm not sure what the peak memory
 use is or how long it took to compile as I let it run overnight (I have
 12G of RAM on my Mac). The resulting binary of the 321 line source file is
 51 MB

 What I'm a bit unclear on is that the bug description seems to suggest
 this behavior began at some point since the release of 7.10.1,

 > This has only happened since the release of 7.10.1 and it appears to
 still be happening in the ghc-7.10 branch.

 However I am finding that the commits prior to the 7.10.1 release also
 exhibit the behavior.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10491#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list