[GHC] #11157: (Optimized prime generation) ghc: panic! (the 'impossible' happened)

GHC ghc-devs at haskell.org
Thu Dec 10 20:19:05 UTC 2015


#11157: (Optimized prime generation) ghc: panic! (the 'impossible' happened)
-------------------------------------+-------------------------------------
        Reporter:  jachymb           |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:  duplicate         |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 I'm assuming you are loading this in GHCi. The workaround is to remove the
 {-# OPTIONS_GHC -O2 #-} from your file.

 Indeed fixed in 7.10.3.

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


More information about the ghc-tickets mailing list