
29 Jan
2021
29 Jan
'21
7:22 a.m.
On Fri, 29 Jan 2021, Sylvain Henry wrote:
Could you open a GHC ticket with a reproducing example?
It looks similar to https://gitlab.haskell.org/ghc/ghc/-/issues/16577 so you may have more chance with `-O0`.
If disabling optimization helps, then it might be useful to disable it only for this module by adding a pragma to the top of the module: {-# OPTIONS_GHC -O0 #-}