[GHC] #4837: Template Haskell does not work in a profiled compiler.
GHC
cvs-ghc at haskell.org
Thu Mar 21 06:39:59 CET 2013
#4837: Template Haskell does not work in a profiled compiler.
---------------------------------+------------------------------------------
Reporter: benl | Owner:
Type: bug | Status: new
Priority: low | Milestone: 7.6.2
Component: Profiling | Version: 7.0.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: GHC doesn't work at all
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Old description:
> Template Haskell does not work if the compiler itself is built profiles.
> Because of this we cannot debug GHC compile time performance problems
> when compiling Data.Vector and DPH as they use Template Haskell. #4172 is
> related.
>
> Trying to use Template Haskell in a profiled compiler currently triggers
> the assertion at {{{main/HscMain.hs:1245}}}
New description:
Template Haskell does not work if the compiler itself is built profiles.
Because of this we cannot debug GHC compile time performance problems when
compiling Data.Vector and DPH as they use Template Haskell. #4172 is
related.
Trying to use Template Haskell in a profiled compiler currently triggers
the assertion at {{{main/HscMain.hs:1245}}}
Supporting this would also mean that we can run GHCi with profiled code!
--
Comment(by ezyang):
OK, I added a note to the description mentioning GHCi would also benefit
from this.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4837#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list