[GHC] #13318: ghc-7.10.1 panics when compiling singletons-1.1.2.1

#13318: ghc-7.10.1 panics when compiling singletons-1.1.2.1
-------------------------------------+-------------------------------------
Reporter: WrenThornton | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Compile-time
Unknown/Multiple | crash or panic
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Not sure if this has been fixed in newer versions or not, but:
{{{
[39 of 45] Compiling Data.Singletons.Prelude.List (
src/Data/Singletons/Prelude/List.hs,
dist/build/Data/Singletons/Prelude/List.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.1 for x86_64-apple-darwin):
Template variable unbound in rewrite rule
n_X2iZh
[a_a2gBn, t_a2gBo, n_a2iB7, ipv_s2szc, ipv_s2szd, sc_s2tXD,
sc_s2tXF, sc_s2tXG, sg_s2tXH]
[a_X2gZv, t_X2gZx, n_X2iZh, ipv_X2sXn, ipv_X2sXp, sc_X2ulQ,
sc_X2ulT, sc_X2ulV, sg_X2ulX]
[TYPE a_a2gBn, TYPE t_a2gBo,
TYPE Let1627878522XsSym4 t_a2gBo n_a2iB7 ipv_s2szc ipv_s2szd,
sc_s2tXD,
(SCons
@ a_a2gBn
@ (ipv_s2szc : ipv_s2szd)
@ ipv_s2szc
@ ipv_s2szd
@~

#13318: ghc-7.10.1 panics when compiling singletons-1.1.2.1 -------------------------------------+------------------------------------- Reporter: WrenThornton | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: #10689 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => duplicate * related: => #10689 Comment: This is a duplicate of #10689, which was fixed in GHC 7.10.3. (I've also confirmed locally that `singletons-1.1.2.1` builds without issue using 7.10.3.) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13318#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC