Suppress the alarming SpecConstr message for normal users (Trac #5125)
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 26 May 2011 16:21:51 +0000 (17:21 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 26 May 2011 16:21:51 +0000 (17:21 +0100)
commit3664c198bbf23acce9820104c06878aa78a32a39
treefda265034874d83963b9f75dcb2cbbb957a2485a
parent3afdf90d0f9fb18f13a6b76fe41e5fc60bbdaac3
Suppress the alarming SpecConstr message for normal users (Trac #5125)

This is the offending message:
  SpecConstr
      Function `$wks2{v s2dJ} [lid]'
        has one call pattern, but the limit is 0
      Use -fspec-constr-count=n to set the bound
      Use -dppr-debug to see specialisations

The message isn't very good, and is for experts only. So now it
comes out only
    if you build with -DDEBUG
    or you specify -dppr-debug at runtime
compiler/specialise/SpecConstr.lhs