[GHC] #13547: ghc: panic! StgCmmEnv: variable not found

GHC ghc-devs at haskell.org
Sun Apr 9 18:41:27 UTC 2017


#13547: ghc: panic! StgCmmEnv: variable not found
-------------------------------------+-------------------------------------
        Reporter:  cipher1024        |                Owner:  (none)
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
  (CodeGen)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  10158             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Replying to [comment:16 cipher1024]:
 > I find it a bit confusing because the commit dates back to 2015 while
 literate-unitb worked with ghc-8.0.1 up until november 2016.

 I'm not sure what you mean by this, especially since the version of
 `Proofs2.hs` that I attached also panics with GHC 8.0.1.

 But moreover, it's important to note that you can't divide up GHC's commit
 history into discrete chunks corresponding to each GHC version. We operate
 by selectively merging commits from HEAD into release branches. So even
 though the `ApplicativeDo` patch was first committed back in 2015, it
 didn't actually appear in a major release (8.0) until much later, since we
 waited until we had made a couple of point releases for GHC 7.10 before
 putting new, breaking changes (including `ApplicativeDo`) in a major 8.0
 release.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13547#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list