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
Type of failure: GHC rejects | (amd64)
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Alright, I know what is going on here:
Look at the simplified Core of `Type.newTyConInstRhs`,
{{{
newTyConInstRhs :: TyCon -> [Type] -> Type
[GblId,
Arity=2,
Str=,
Unf=Unf{Src=InlineStable, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True,
Guidance=ALWAYS_IF(arity=2,unsat_ok=True,boring_ok=False)
Tmpl= \ (tycon_a9Sq [Occ=OnceL] :: TyCon)
(tys_a9Sr [Occ=OnceL] :: [Type]) ->
scc<newTyConInstRhs>
let {
ds_sofN :: ([TyVar], Type)
[LclId]
ds_sofN
= scc
participants (1)
-
GHC