Re: [GHC] #5889: -fno-prof-count-entries leads to linking errors
#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 osa1): I wonder if this could be related with inlining worker for `split`. This program {{{ import A {-# NOINLINE b #-} b :: Integer b = bar 100 Nothing }}} compiles to {{{ ds_r4vL :: (Integer, Integer) [GblId] ds_r4vL = scc<bar> scc<bar.(...)> case B.$wsplit n_r4u9 (GHC.Base.Nothing @ Integer) of { (# ww1_s2sg, ww2_s2sh #) -> (ww1_s2sg, ww2_s2sh) } b [InlPrag=NOINLINE] :: Integer [GblId] b = scc<bar> plus_noinline (scc<bar.y> case ds_r4vL of { (y_a2pz, z_a2pB) -> y_a2pz }) (scc<bar.z> case ds_r4vL of { (y_a2pz, z_a2pB) -> z_a2pB }) }}} and fails the same way. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5889#comment:21> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC