#3960: ghc panic when attempting to compile DPH code
------------------------+---------------------------------------------------
    Reporter:  jwlato   |       Owner:                    
        Type:  bug      |      Status:  new               
    Priority:  normal   |   Component:  Compiler          
     Version:  6.12.1   |    Keywords:  panic, DPH        
          Os:  MacOS X  |    Testcase:                    
Architecture:  x86      |     Failure:  Compile-time crash
------------------------+---------------------------------------------------
 the function "tmpfn" in the attached code causes ghc to panic (the
 'impossible' happened).  This bug is present in ghc 6.12.1 and
 6.13.20100226

 ghc: panic! (the 'impossible' happened)
   (GHC version 6.12.1 for i386-apple-darwin):
         VectMonad.lookupFamInst: not found:
     dph-seq:Data.Array.Parallel.Lifted.PArray.PData{tc rq5}
       (dph-seq:Data.Array.Parallel.Lifted.PArray.PArray{tc r35}
          ghc-prim:GHC.Types.Double{(w) tc 3u},
        dph-seq:Data.Array.Parallel.Lifted.PArray.PArray{tc r35}
          ghc-prim:GHC.Types.Double{(w) tc 3u},
        dph-seq:Data.Array.Parallel.Lifted.PArray.PArray{tc r35}
          (dph-seq:Data.Array.Parallel.Lifted.PArray.PArray{tc r35}
             (ghc-prim:GHC.Types.Int{(w) tc 3J},
              ghc-prim:GHC.Types.Double{(w) tc 3u})),
        dph-seq:Data.Array.Parallel.Lifted.PArray.PArray{tc r35}
          ghc-prim:GHC.Types.Double{(w) tc 3u},
        dph-seq:Data.Array.Parallel.Lifted.PArray.PArray{tc r35}
          (dph-seq:Data.Array.Parallel.Lifted.PArray.PArray{tc r35}
             (ghc-prim:GHC.Types.Int{(w) tc 3J},
              ghc-prim:GHC.Types.Double{(w) tc 3u})),
        dph-seq:Data.Array.Parallel.Lifted.PArray.PArray{tc r35}
          ghc-prim:GHC.Types.Double{(w) tc 3u})

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