[GHC] #5539: GHC panic - Simplifier ticks exhausted

GHC ghc-devs at haskell.org
Fri Aug 16 21:11:48 CEST 2013


#5539: GHC panic -  Simplifier ticks exhausted
---------------------------------------+----------------------------------
        Reporter:  hvr                 |            Owner:  simonpj
            Type:  bug                 |           Status:  new
        Priority:  high                |        Milestone:  7.6.2
       Component:  Compiler            |          Version:  7.3
      Resolution:                      |         Keywords:
Operating System:  Linux               |     Architecture:  x86_64 (amd64)
 Type of failure:  Compile-time crash  |       Difficulty:  Unknown
       Test Case:                      |       Blocked By:
        Blocking:                      |  Related Tickets:
---------------------------------------+----------------------------------

Comment (by ghorn):

 sorry for the spam, I found a smaller example:
 {{{
 {-# OPTIONS_GHC -Wall #-}

 module Main ( main ) where

 import Foreign.Ptr ( Ptr )
 import Foreign.Marshal ( malloc )

 main :: IO ()
 main = do
   _ <- malloc :: IO (Ptr Int)
   _ <- malloc :: IO (Ptr Int)
   _ <- malloc :: IO (Ptr Int)
   _ <- malloc :: IO (Ptr Int)
   _ <- malloc :: IO (Ptr Int)
   _ <- malloc :: IO (Ptr Int)
   _ <- malloc :: IO (Ptr Int)
   _ <- malloc :: IO (Ptr Int)
   _ <- malloc :: IO (Ptr Int)
   return ()
 }}}

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




More information about the ghc-tickets mailing list