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

Comment(by simonmar):

 confirmed:

 {{{
 $ ghc -O2 5303.hs
 [1 of 1] Compiling Test             ( 5303.hs, 5303.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.0.3 for x86_64-unknown-linux):
         funResultTy
     <pred>main:Test.ApplyState{tc rrv} p{tv aBn} [sk]
             ~
           hashed-storage-0.5.6:Storage.Hashed.Tree.Tree{tc r4V}
 }}}

 unfortunately I can't test with HEAD because hashed-storage doesn't
 install:

 {{{
 $ cabal install hashed-storage
 Resolving dependencies...
 cabal: cannot configure dataenc-0.14. It requires base >=3.0.0 && <4.4
 For the dependency on base >=3.0.0 && <4.4 there are these packages:
 base-3.0.3.1, base-3.0.3.2, base-4.0.0.0, base-4.1.0.0, base-4.2.0.0,
 base-4.2.0.1, base-4.2.0.2, base-4.3.0.0 and base-4.3.1.0. However none of
 them are available.
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to