Ticks panic
Preprocessing test suite 'tests' for url-decoders-1...
[1 of 1] Compiling Main ( tests/Main.hs, dist/build/tests/tests-tmp/Main.o )
<no location info>: error:
ghc: panic! (the 'impossible' happened)
(GHC version 8.0.1 for x86_64-apple-darwin):
Simplifier ticks exhausted
When trying UnfoldingDone withForeignPtr1
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: 144969
To reproduce the but, clone a repo under the specified commit from the following URL: https://github.com/nikita-volkov/url-decoders/tree/22410402a41b7524a1af03d78e381e9ea6354944
Then run the following command on the project:
cabal configure --enable-tests && cabal build --ghc-options=-O2
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |