#7521: Simplifier ticks exhausted when compiling Accelerate example.
---------------------------------+------------------------------------------
    Reporter:  eamsden           |       Owner:                    
        Type:  bug               |      Status:  new               
    Priority:  normal            |   Milestone:                    
   Component:  Compiler          |     Version:  7.6.1             
    Keywords:                    |          Os:  Linux             
Architecture:  Unknown/Multiple  |     Failure:  Compile-time crash
  Difficulty:  Unknown           |    Testcase:                    
   Blockedby:                    |    Blocking:                    
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonpj):

  * difficulty:  => Unknown


Old description:

> 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
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

New description:

 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
 }}}

--

Comment:

 What `-fsimpl-tick-factor` makes it work?

 Simon

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to