Segfault in a CoreLinted program (and a GHC-generated Core question)