Profiling and ext-core

Kirsten Chevalier krc at uclink.berkeley.edu
Thu Feb 13 20:09:30 EST 2003


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 glasgow-haskell-bugs at haskell.org,
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 * krc at uclink.berkeley.edu * Often in error, never in doubt



More information about the Glasgow-haskell-bugs mailing list