memo001 causes compile time panic with fails with -O -dannot-lint
$ cd libraries/base/tests; ghc-stage2 memo001.hs -O -dannot-lint
[1 of 2] Compiling Memo1 ( Memo1.lhs, Memo1.o ) [Optimisation flags changed]
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 8.7.20181116 for x86_64-unknown-linux):
idInfo
val_a3pf
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable
pprPanic, called at compiler/basicTypes/Var.hs:567:34 in ghc:Var
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |