GHC crashes when both -shared and --make flags are specified
I'm not even sure if you're meant to be able to do this, but I wanted to build a DLL without manually specifying the files, so I tried to do the build and the archiving in one step.
But I get a panic:
>ghc -shared --make LibFunslang
ghc: panic! (the 'impossible' happened)
(GHC version 6.8.1 for i386-unknown-mingw32):
main/DriverPipeline.hs:(270,0)-(337,23): Non-exhaustive patterns in function link