#5303: GHC crash (panic) with -O2 and nonexistent .hi
-------------------------+--------------------------------------------------
    Reporter:  mornfall  |       Owner:                    
        Type:  bug       |      Status:  new               
    Priority:  normal    |   Component:  Compiler          
     Version:  7.0.3     |    Keywords:                    
    Testcase:            |   Blockedby:                    
          Os:  Linux     |    Blocking:                    
Architecture:  x86       |     Failure:  Compile-time crash
-------------------------+--------------------------------------------------

Comment(by mornfall):

 (sorry about the formatting, but trac won't let me edit it now... let me
 try again)
 {{{

 14:13:51 | morn@ald:~/dev/darcs/prims-v3 -> ghc -O2 test.hs
 14:13:52 | morn@ald:~/dev/darcs/prims-v3 -> rm test.{hi,o}
 14:14:03 | morn@ald:~/dev/darcs/prims-v3 -> ghc -O2 test.hs
 [1 of 1] Compiling Test             ( test.hs, test.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.0.3 for i386-unknown-linux):
         funResultTy
     <pred>main:Test.ApplyState{tc rrv} p{tv aBn} [sk]
             ~
           hashed-storage-0.5.7:Storage.Hashed.Tree.Tree{tc r4Y}

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

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5303#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