Pattern match checker exceeded (2000000) iterations
graphviz seems a nice benchmark (not too large, few dependencies) that highlights compiler performance problems on "trivial" source code
(cf. https://hackage.haskell.org/package/graphviz-2999.18.0.2/docs/src/Data-GraphViz-Attributes-Complete.html\#sameAttribute)
Compilation of Compiling Data.GraphViz.Attributes.Colors.X11 and Data.GraphViz.Attributes.Values takes \>= 1 second each, and the following happens:
```
cabal install graphviz-2999.18.0.2 --allow-newer
...
[17 of 31] Compiling Data.GraphViz.Attributes.Complete ( Data/GraphViz/Attributes/Complete.hs, dist/dist-sandbox-e6f2c124/build/Data/GraphViz/Attributes/Complete.o )
Data/GraphViz/Attributes/Complete.hs:1013:1: warning:
Pattern match checker exceeded (2000000) iterations in
an equation for ‘sameAttribute’. (Use -fmax-pmcheck-iterations=n
to set the maximun number of iterations to n)
```
I do welcome that ghc emits this warning - I expect you want its occurence to be reported as a bug?
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 8.0.1-rc3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Pattern match checker exceeded (2000000) iterations","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.0.1-rc3","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"graphviz seems a nice benchmark (not too large, few dependencies) that highlights compiler performance problems on \"trivial\" source code\r\n(cf. https://hackage.haskell.org/package/graphviz-2999.18.0.2/docs/src/Data-GraphViz-Attributes-Complete.html#sameAttribute)\r\n\r\nCompilation of Compiling Data.GraphViz.Attributes.Colors.X11 and Data.GraphViz.Attributes.Values takes >= 1 second each, and the following happens:\r\n\r\n{{{\r\ncabal install graphviz-2999.18.0.2 --allow-newer\r\n\r\n...\r\n\r\n[17 of 31] Compiling Data.GraphViz.Attributes.Complete ( Data/GraphViz/Attributes/Complete.hs, dist/dist-sandbox-e6f2c124/build/Data/GraphViz/Attributes/Complete.o )\r\n\r\nData/GraphViz/Attributes/Complete.hs:1013:1: warning:\r\n Pattern match checker exceeded (2000000) iterations in\r\n an equation for ‘sameAttribute’. (Use -fmax-pmcheck-iterations=n\r\n to set the maximun number of iterations to n)\r\n}}}\r\n\r\nI do welcome that ghc emits this warning - I expect you want its occurence to be reported as a bug?","type_of_failure":"OtherFailure","blocking":[]} -->
issue