#7499: Case-inspecting unboxed unit causes codegen crash
-------------------------------+--------------------------------------------
Reporter:  rl                  |          Owner:                  
    Type:  bug                 |         Status:  new             
Priority:  normal              |      Component:  Compiler        
 Version:  7.6.1               |       Keywords:                  
      Os:  Unknown/Multiple    |   Architecture:  Unknown/Multiple
 Failure:  Compile-time crash  |      Blockedby:                  
Blocking:                      |        Related:                  
-------------------------------+--------------------------------------------

Comment(by ChrisN):

 This appears to be fixed in 7.7

 {{{

 [Fri 15:24]/tmp>ghc-7.6.1 --make crash.hs -O2 -fforce-recomp
 [1 of 1] Compiling Main             ( crash.hs, crash.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.6.1 for x86_64-unknown-linux):
         compiler/codeGen/CgCase.lhs:572:15-61: Irrefutable pattern failed
 for pattern ((CoreSyn.DEFAULT,
                                         deflt_absC) : others)


 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug



 [Fri 15:24]/tmp>ghc-7.7.20121207 --make crash.hs -O2 -fforce-recomp
 [1 of 1] Compiling Main             ( crash.hs, crash.o )
 Linking crash ...

 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to