#8892: Ghc panics (variable not found) ---------------------------------------+----------------------------------- Reporter: jwlato | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time crash | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ---------------------------------------+----------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"87bbc69c40d36046492d754c8d7ff02c3be6ce43/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="87bbc69c40d36046492d754c8d7ff02c3be6ce43" Make sure we occurrence-analyse unfoldings (fixes Trac #8892) 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. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8892#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler