RE: Profiling and ext-core

2003-02-20 Thread Simon Peyton-Jones
I don't think this had much to do with profiling actually.  It was just
a bug!
Fixed now.

Simon

| -Original Message-
| From: Kirsten Chevalier [mailto:[EMAIL PROTECTED]]
| Sent: 14 February 2003 01:10
| To: [EMAIL PROTECTED]
| 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
[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
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



Profiling and ext-core

2003-02-13 Thread Kirsten Chevalier
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