[GHC] #10245: panic in new integer switch logic with "out-of-range" literals

GHC ghc-devs at haskell.org
Sun Apr 5 20:53:04 UTC 2015


#10245: panic in new integer switch logic with "out-of-range" literals
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:  nomeata
            Type:  bug               |                  Status:  closed
        Priority:  high              |               Milestone:
       Component:  Compiler          |                 Version:  7.11
  (CodeGen)                          |                Keywords:
      Resolution:  fixed             |            Architecture:  x86_64
Operating System:  Unknown/Multiple  |  (amd64)
 Type of failure:  Compile-time      |               Test Case:
  crash                              |                Blocking:
      Blocked By:                    |  Differential Revisions:
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"a838d1f7c668f6c5886ce350cb456f3ecbcb1499/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a838d1f7c668f6c5886ce350cb456f3ecbcb1499"
 CmmSwitch: Do not trip over a case with no (valid) branches

 This fixes #10245. I did not commit the test case, as it fails
 unconditionally with a compiler built with -DDEBUG, so maybe it is bogus
 Haskell anyways.
 }}}

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


More information about the ghc-tickets mailing list