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

Manuel M T Chakravarty chak at cse.unsw.edu.au
Mon Mar 4 11:38:35 CET 2013


Yes, I asked Amos to put the ticket into Trac, so we don't forget to fix it.

Manuel

Simon Peyton-Jones <simonpj at microsoft.com>:

> Manuel, is this something you might look at in due course?
> 
> Simon
> 
> | -----Original Message-----
> | From: ghc-tickets-bounces at haskell.org [mailto:ghc-tickets-
> | bounces at haskell.org] On Behalf Of GHC
> | Sent: 04 March 2013 00:17
> | Cc: ghc-tickets at haskell.org
> | Subject: [GHC] #7736: Parallel array enumeration causes compiler panic
> | (enumFromToP)
> | 
> | #7736: Parallel array enumeration causes compiler panic (enumFromToP)
> | -------------------------------+----------------------------------------
> | -------------------------------+----
> | Reporter:  amosrobinson        |          Owner:
> |     Type:  bug                 |         Status:  new
> | Priority:  normal              |      Component:  Compiler
> |  Version:  7.6.2               |       Keywords:
> |       Os:  Unknown/Multiple    |   Architecture:  Unknown/Multiple
> |  Failure:  Compile-time crash  |      Blockedby:
> | Blocking:                      |        Related:
> | -------------------------------+----------------------------------------
> | -------------------------------+----
> |  Enumeration doesn't work in parallel array comprehensions:
> | 
> |  {{{
> |  nums = [: 0 .. 100 :]
> |  }}}
> | 
> |  causes a compiler panic. Interestingly, the panic seems to happen
> | before  typechecking because if we add some nonsense:
> | 
> |  {{{
> |  other = 5 / "bad"
> |  nums = [: 0 .. 100 :]
> |  }}}
> | 
> |  it still panics.
> | 
> | --
> | Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7736>
> | GHC <http://www.haskell.org/ghc/>
> | The Glasgow Haskell Compiler
> | 
> | _______________________________________________
> | ghc-tickets mailing list
> | ghc-tickets at haskell.org
> | http://www.haskell.org/mailman/listinfo/ghc-tickets




More information about the ghc-devs mailing list