[GHC] #5889: -fno-prof-count-entries leads to linking errors
GHC
ghc-devs at haskell.org
Mon Nov 6 21:52:16 UTC 2017
#5889: -fno-prof-count-entries leads to linking errors
-------------------------------------+-------------------------------------
Reporter: akio | Owner: bgamari
Type: bug | Status: new
Priority: highest | Milestone: 8.4.1
Component: Compiler | Version: 8.3
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64
Type of failure: GHC rejects | (amd64)
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by duog):
Replying to [comment:15 bgamari]:
> Well, I think simonpj's question was really "why is the same
simplification not also being performed when we inline the unfolding?"
Indeed this is a good question and will need some investigation.
One explanation could be that `newTyConEtadRhs` is inlined at the callsite
of `newTyConInstRhs` because the constructor of `tycon_a9Sq` is known; and
after that substitution the logic in comment:9 no longer applies.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5889#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list