Confusing warnings from GHC HEAD

Bryan O'Sullivan bos at serpentine.com
Sat Aug 28 20:04:32 EDT 2010


I get a few dozen of these when building the text package, and they weren't
present in 6.12 or earlier:

SpecConstr
    Function `$wa1{v X5A2} [lid]'
      has three call patterns, but the limit is 2
    Use -fspec-constr-count=n to set the bound
    Use -dppr-debug to see specialisations

There are a few aspects to this that I find surprising.

   - I can't do anything with the Core name.
   - My cabal file contains -fspec-constr-count=5 just to be safe, but it
   doesn't help.

I can't tell whether this is the compiler going a little off into the weeds,
or whether I'm doing something wrong, but I appear to be unable to make the
message go away.

Thanks,
Bryan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100828/d94aba74/attachment.html


More information about the Glasgow-haskell-users mailing list