#2665: Compiler hangs
---------------------------------+------------------------------------------
Reporter: rolyp | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown/Multiple | Os: Unknown/Multiple
---------------------------------+------------------------------------------
Sorry for not providing a more specific summary.
The following code hangs the 6.8.2 compiler:
data U a = U [a] [a]
row :: a -> U a
row u = U (iterate (fmap id) u) (iterate (fmap id) u)
This is the entire program. Simpler versions seem to make the problem go
away, although I haven't investigated in detail. I'm running without any
special compiler options enabled.
I have a suspicion this may be related to the problem with the inliner
described at
http://www.haskell.org/ghc/docs/latest/html/users_guide/bugs.html#bugs-
ghc.
cheers,
Roly
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2665>
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