
#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 | (amd64) Type of failure: GHC rejects | Test Case: valid program | profiling/should_compile/T5889 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by duog): Replying to [comment:26 osa1]:
My current understanding is now that the cost-centres are, modulo bugs, removed when they aren't wrapping any work. I don't think we have any examples here of erroneous cost-centre removal, do you agree?
Well, this ticket iself is an example of erroneous cost-centre removal, isn't it?
To be more precise, I claim that there are no simplifier bugs here; all of the `scc`s that are removed (by the simplifier) in the examples above are ok to remove. If you disagree, can you point to one above? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/5889#comment:27 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler