#4837: Template Haskell does not work in a profiled compiler.
---------------------------------+------------------------------------------
    Reporter:  benl              |        Owner:                         
        Type:  bug               |       Status:  new                    
    Priority:  normal            |    Milestone:                         
   Component:  Profiling         |      Version:  7.0.1                  
    Keywords:                    |     Testcase:                         
   Blockedby:                    |   Difficulty:                         
          Os:  Unknown/Multiple  |     Blocking:                         
Architecture:  Unknown/Multiple  |      Failure:  GHC doesn't work at all
---------------------------------+------------------------------------------

Old description:

> Due to 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}}}

--

Comment(by simonpj):

 We think we can work around the problem for now, but it would be a very
 good thing to fix.

 Maybe the code compiled by Template Haskell can be un-profiled?  That
 might be an easy fix.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4837#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to