[GHC] #7713: Panic! make_exp (App _ (Coercion _)) when compiled with -fext-core

GHC cvs-ghc at haskell.org
Sun Mar 24 08:06:25 CET 2013


#7713: Panic! make_exp (App _ (Coercion _)) when compiled with -fext-core
---------------------------------+------------------------------------------
    Reporter:  EduardSergeev     |       Owner:                    
        Type:  bug               |      Status:  new               
    Priority:  normal            |   Milestone:                    
   Component:  Compiler          |     Version:  7.6.2             
    Keywords:  -fext-core panic  |          Os:  Linux             
Architecture:  x86_64 (amd64)    |     Failure:  Compile-time crash
  Difficulty:  Unknown           |    Testcase:                    
   Blockedby:                    |    Blocking:                    
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by mvanier):

 I got the same compiler panic with ghc 7.4.2 on Mac OS X 10.6.8 with this
 trivial file:

 {{{
 -- Begin file "Main.hs".
 -- Compile with "ghc -fext-core Main.hs"
 module Main where

 main :: IO ()
 main = print 10
 -- End file.
 }}}

 Curiously, it doesn't panic when the `main = print 10` line is changed to
 `main = print "10"`.

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



More information about the ghc-tickets mailing list