[GHC] #12617: Make the interface of traceTc and traceRn the same
GHC
ghc-devs at haskell.org
Sun Oct 16 11:28:15 UTC 2016
#12617: Make the interface of traceTc and traceRn the same
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner:
Type: task | Status: new
Priority: lowest | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by mpickering):
Modifying the `traceRn` interface to the `traceTc` interface causes 3 of
the performance tests to fail due to the strings being floated to the top
level (by `-ffull-laziness`) and hence allocated. Previously these strings
were not allocated as there is a rule which optimises `text "abc"` to
`ptext (Ptr p)`.
Here is the diff where I tried various things to fix this:
https://phabricator.haskell.org/D2586
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12617#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list