Combining -S and -fno-code causes a compiler panic.
Summary
[nix-shell:~/ghc_head/nofib/spectral/simple]$ ghc Main.hs -S -fno-code
Main.hs:80:1: warning: [-Wtabs]
Tab character found here, and in 46 further locations.
Please use spaces instead.
|
80 | in [show "RESULT ",show "U",show mat0,show "V",show mat1,show "R",
| ^^^^^^^^
ghc: panic! (the 'impossible' happened)
(GHC version 8.6.4 for x86_64-unknown-linux):
pipeLoop: at phase StopLn but I wanted to stop at phase As False
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Steps to reproduce
See above
Expected behavior
I would expect -fno-code
to take precedence.