[GHC] #10370: Compile time regression in OpenGLRaw
GHC
ghc-devs at haskell.org
Mon May 4 03:20:39 UTC 2015
#10370: Compile time regression in OpenGLRaw
-------------------------------------+-------------------------------------
Reporter: michalt | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by rwbarton):
I created a synthetic test case that exhibits the same space blow-up:
{{{
modu = unlines $
"module Out where" :
"import Control.Monad (forever)" :
[ var ++ " :: IO (); " ++ var ++ " = forever $ putStrLn \"" ++ var
++ "\"" |
n <- [1..3000], let var = "a" ++ show n ]
main = writeFile "Out.hs" modu
}}}
The string literals seem to be important, I didn't manage to find a
variation that blew up without them.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10370#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list