#7553: ghc fails to terminate with -O2 or greater
---------------------------------+------------------------------------------
    Reporter:  erikd             |       Owner:                    
        Type:  bug               |      Status:  new               
    Priority:  normal            |   Milestone:                    
   Component:  Compiler          |     Version:  7.6.1             
    Keywords:                    |          Os:  Unknown/Multiple  
Architecture:  Unknown/Multiple  |     Failure:  Compile-time crash
  Difficulty:  Unknown           |    Testcase:                    
   Blockedby:                    |    Blocking:                    
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by monoidal):

 Here's a small version of the code from the bug #7555.

 {{{
 {-# OPTIONS_GHC -O2 #-}

 import qualified Data.Vector.Unboxed as V

 main :: IO ()
 main = print $ V.foldl' (\is _ -> 0:is) [] (V.fromList "")
 }}}

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