ghc fails to terminate with -O2 or greater
GHC 7.6.1 on x86_64-lines from Debian's experimental repo (Debian unstable is currently frozen in preparation for the new release and therefore the Debian Haskell team is uploading to experimental).
I have 50 lines of code across two files and then I compile these with -O1 the compile competes in about 10 seconds. However if I compile it with -O2 or greater, the compile does not seem to terminate. I've left it for as long as 1o minutes and the compile process uses 100% CPU and its memory usage seems to grow slowly so that after 10 minutes its using 5% of my machine's 8Gig or memory.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |