Skip to content
  • Simon Peyton Jones's avatar
    632956d0
    Make sure we occurrence-analyse unfoldings (fixes Trac #8892) · 632956d0
    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.
    
    (cherry picked from commit 87bbc69c)
    632956d0
    Make sure we occurrence-analyse unfoldings (fixes Trac #8892)
    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.
    
    (cherry picked from commit 87bbc69c)
Loading