Talkative Join points warning

Ben Gamari ben at well-typed.com
Thu Feb 2 21:36:23 UTC 2017


Hi Luke,

I've noticed that a new WARN in OccurAnal seems to be quite loud.
Validations now produce thousands of lines of the form,

    WARNING: file compiler/simplCore/OccurAnal.hs, line 2633
      OccurAnal failed to rediscover join point(s): [$j_shTG]
    WARNING: file compiler/simplCore/OccurAnal.hs, line 2633
      OccurAnal failed to rediscover join point(s): [$w$j_sl22]
    WARNING: file compiler/simplCore/OccurAnal.hs, line 2633
      OccurAnal failed to rediscover join point(s): [$w$j_sl1W]
    WARNING: file compiler/simplCore/OccurAnal.hs, line 2633
      OccurAnal failed to rediscover join point(s): [$w$j_sl1Q]

Do you think we could either quiet the warning down a bit or perhaps
disable it by default? It makes it rather difficult to see through the
noise.

This is actually perhaps another case where Simon Marlow suggestion of
introducing a family of -v* flags (e.g. -fvanishing-join-points) might
be helpful.

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170202/7641f301/attachment.sig>


More information about the ghc-devs mailing list