SpecConstr number of specializations (-fspec-constr-count)

Roman Leshchinskiy rl at cse.unsw.edu.au
Thu Nov 25 15:01:09 EST 2010

On 25/11/2010, at 10:33, José Pedro Magalhães wrote:

> Is this a bug, or is the value of spec-constr-count being manipulated in some way for certain passes?

spec-constr-count decreases for nested specialisations. For instance, if spec-constr-count is 6 and SpecConstr generates 2 specialisations for a function foo, then spec-constr-count will be 3 for all functions nested in foo. You can turn it off completely with -fno-spec-constr-count.


More information about the Glasgow-haskell-users mailing list