[GHC] #7736: Parallel array enumeration causes compiler panic (enumFromToP)

GHC ghc-devs at haskell.org
Sat Nov 22 20:28:35 UTC 2014


#7736: Parallel array enumeration causes compiler panic (enumFromToP)
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:  chak
  amosrobinson                       |           Status:  new
                  Type:  bug         |        Milestone:  7.10.1
              Priority:  normal      |          Version:  7.7
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Compile-    |  Related Tickets:  #7078
  time crash                         |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by thomie):

 Smaller testcase:

 {{{
 $ cat EnumFromToP.hs
 {-# LANGUAGE ParallelArrays #-}
 module EnumFromToP where
 nums = [: 0 .. 100 :]

 $ ghc-7.9.20141121 EnumFromToP.hs
 [1 of 1] Compiling EnumFromToP      ( EnumFromToP.hs, EnumFromToP.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.9.20141121 for x86_64-unknown-linux):
         DsMonad: uninitialised ds_parr_bi
 }}}

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


More information about the ghc-tickets mailing list