The latest version of GHC (downloaded from CVS today) doesn't seem to be
able to compile external Core files for profiling. If I do:
$ ghc -prof -auto-all -fext-core -fno-code hello.hs
$ ghc -prof -auto-all hello.hcr
I get the following error message:
ghc-5.05: panic! (the `impossible' happened, GHC version 5.05):
        main/CodeOutput.lhs:109: Non-exhaustive patterns in function outputC


Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.

Whereas if I compile the original .hs file with -prof -auto-all, it works
fine. This happens for every example I've tried.

-- 
Kirsten Chevalier * [EMAIL PROTECTED] * Often in error, never in doubt
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to