Talkative Join points warning

Simon Peyton Jones simonpj at microsoft.com
Thu Feb 2 23:37:55 UTC 2017


Better still, figure out why it's happening and stop it happening.  It shouldn't!

S

| -----Original Message-----
| From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Ben
| Gamari
| Sent: 02 February 2017 21:36
| To: Luke Maurer <maurerl at cs.uoregon.edu>
| Cc: ghc-devs at haskell.org
| Subject: Talkative Join points warning
| 
| 
| 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


More information about the ghc-devs mailing list