Skip to content
  • Simon Peyton Jones's avatar
    Make sure we occurrence-analyse unfoldings (fixes Trac #8892) · 87bbc69c
    Simon Peyton Jones authored
    For DFunUnfoldings we were failing to occurrence-analyse the unfolding,
    and that meant that a loop breaker wasn't marked as such, which in turn
    meant it was inlined away when it still had occurrence sites.  See
    Note [Occurrrence analysis of unfoldings] in CoreUnfold.
    
    This is a pretty long-standing bug, happily nailed by John Lato.
    87bbc69c