[GHC] #16310: Program fails with "Impossible case alternative" when optimized

GHC ghc-devs at haskell.org
Wed Feb 13 01:44:31 UTC 2019


#16310: Program fails with "Impossible case alternative" when optimized
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.3
      Resolution:  wontfix           |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Well, `axiom` is being used to prove functional extensionality, which is
 generally safe. But perhaps it would be better to put the use of
 `unsafeCoerce` in `funExt` directly. I wonder if that quells the problem.

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


More information about the ghc-tickets mailing list