Opened 16 months ago

Last modified 13 months ago

#7521 new bug

Simplifier ticks exhausted when compiling Accelerate example.

Reported by: eamsden Owned by:
Priority: high Milestone: 7.8.3
Component: Compiler Version: 7.6.1
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Compile-time crash Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by simonpj)

When doing $ cabal build for: http://github.com/AccelerateHS/accelerate-examples (commit def2495a1e7bd88e444540c3494b8674da99e201):

[31 of 36] Compiling SMVM.Matrix      ( examples/tests/simple/SMVM/Matrix.hs, dist_accelerate/build/accelerate-examples/accelerate-examples-tmp/SMVM/Matrix.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 7.6.1 for x86_64-unknown-linux):
	Simplifier ticks exhausted
    When trying UnfoldingDone base:GHC.Base.returnIO1{v r5g} [gid]
    To increase the limit, use -fsimpl-tick-factor=N (default 100)
    If you need to do this, let GHC HQ know, and what factor you needed
    To see detailed counts use -ddump-simpl-stats
    Total ticks: 27960

Change History (3)

comment:1 Changed 16 months ago by simonpj

  • Description modified (diff)
  • Difficulty set to Unknown

What -fsimpl-tick-factor makes it work?

Simon

comment:2 Changed 15 months ago by fmapE

I used -fsimpl-tick-factor=200 and it built.

comment:3 Changed 13 months ago by igloo

  • Milestone set to 7.8.1
  • Priority changed from normal to high
Note: See TracTickets for help on using tickets.