[GHC] #5539: GHC panic - Simplifier ticks exhausted
GHC
ghc-devs at haskell.org
Fri Aug 16 21:04:00 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):
Here is another small test case:
{{{
{-# OPTIONS_GHC -Wall #-}
module Main ( main ) where
import Foreign.Ptr ( Ptr )
import Foreign.Marshal ( malloc, mallocArray )
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)
_ <- mallocArray 10 :: IO (Ptr Int)
_ <- mallocArray 10 :: IO (Ptr Int)
_ <- mallocArray 10 :: IO (Ptr Int)
return ()
}}}
This will fail as a bare-bones cabal project, but ghc --make will
successfully compile it. I'm on GHC 7.6.3 on 64-bit Debian.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5539#comment:51>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list