Skip to content

T14272 causes compiler heap overflow in optasm

=====> T14272(optasm) 4797 of 6893 [1, 3, 0]
cd "simplCore/should_compile/T14272.run" &&  "/builds/ghc/ghc/inplace/bin/ghc-stage2" -c T14272.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output  -O -fasm 
Compile failed (exit code 1) errors were:
ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 8.9.20190404 for x86_64-unknown-linux):
	heap overflow

Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information