[GHC] #10602: ghc panic: Template variable unbound in rewrite rule when compiling with -O2

GHC ghc-devs at haskell.org
Fri Jul 10 15:15:42 UTC 2015


#10602: ghc panic: Template variable unbound in rewrite rule when compiling with
-O2
-------------------------------------+-------------------------------------
        Reporter:  pacak             |                   Owner:  bgamari
            Type:  bug               |                  Status:  infoneeded
        Priority:  highest           |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.2-rc2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by thomie):

 I'm not sure what you're asking. For me, it fails with both `ghc-stage1`
 and `ghc-stage2` from a devel2 build of HEAD, as well as with
 `ghc-7.10.1.20150710` from hvr's ppa.

 If it wasn't clear: you need both `T10602.hs` and `T10602b.hs`.

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


More information about the ghc-tickets mailing list