Skip to content

Compiler hangs

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

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information