logo       

Profiling and ext-core: msg#00040

lang.haskell.glasgow.bugs

Subject: Profiling and ext-core

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@xxxxxxxxxxx,
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@xxxxxxxxxxxxxxxxxxx * Often in error, never in doubt


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise