On Thu, Jan 14, 2016 at 12:01 PM, Niklas Hambüchen <mail@nh2.me> wrote:
I would like to nominate
https://ghc.haskell.org/trac/ghc/ticket/11172, the run-time segfault
bug I found when using TH with -O, because it currently forces us to
do some production builds with -O0.

You should be able to use `-O -fno-cse` (at least that worked last time I checked).