GHC API should emit a suitable error message when interpreter is used with -prof
When compiling a program with the -prof flag executing the program fails with:
hintBug: internal error: PAP object entered!
(GHC version 6.12.3 for i386_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Aborted
i.e ghc --make program.hs works, ghc --make -prof program.hs doesn't.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.12.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Linux |
| Architecture |
Edited by Simon Marlow