Opened 8 years ago

Closed 8 years ago

Last modified 3 months ago

#685 closed bug (fixed)

Panic splitTyConApp a{tv a1nD} when dealing with GADTs in optimizing mode

Reported by: alcremi@… Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.4.1
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I get the following panic (with *two* modules, because it works when the 2 are merged) in optimising mode (-O):

/usr/bin/ghc -c -Wall -O -i. -fglasgow-exts Operation.hs -o Operation.o
/usr/bin/ghc -c -Wall -O -i. -fglasgow-exts Definition.hs -o Definition.o
ghc-6.4.1: panic! (the `impossible' happened, GHC version 6.4.1):

splitTyConApp a{tv a1nD}

It is probably due to the GADTs being used in these modules.

I have a stripped-down example, packaged in a tar.bz2, but I don't know how to attach it to this ticket

Attachments (1)

bug.tar.bz2 (2.2 KB) - added by alcremi@… 8 years ago.
example of the panic (type 'make')

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by alcremi@…

example of the panic (type 'make')

comment:1 Changed 8 years ago by simonpj

  • Resolution set to fixed
  • Status changed from new to closed

Good bug. Fixed, thank you.

Simon

comment:2 Changed 3 months ago by simonpj <simonpj@…>

Note: See TracTickets for help on using tickets.