Skip to content

GHC stuck in infinite loop compiling with optimizations

GHC gets stuck compiling the attached program. Removing 'deriving Eq' from the last line restores GHC's ability to terminate.

Is this the same as the inliner loop bug? Who knows.

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