|
RE: compiler (simplifier) loops: msg#00005lang.haskell.glasgow.bugs
A known infelicity; see the bottom of http://www.haskell.org/ghc/docs/latest/html/users_guide/bugs.html My hypothesis is that this only happens if you try to make it happen. I've never found it happen in a real program. Let me know if that's not the case. Simon | -----Original Message----- | From: glasgow-haskell-bugs-admin@xxxxxxxxxxx [mailto:glasgow-haskell-bugs-admin@xxxxxxxxxxx] On | Behalf Of Iavor Diatchki | Sent: 06 August 2003 00:42 | To: glasgow-haskell-bugs@xxxxxxxxxxx | Subject: compiler (simplifier) loops | | hello, | | the following program makes the compiler (version 6.0.1) loop. | the same seems to happen on 5.04.2. | when i run it with -v, it seems that it gets stuck in the simplifier. | | > newtype T a = Close { open :: T a -> a } | > | > fix :: (a -> a) -> a | > fix f = s (Close s) | > where s x = f (open x x) | | also the flag: | -fmax-simplifier-iterations | is not recognized on 6.0.1 | | bye | iavor | | | -- | ================================================== | | Iavor S. Diatchki, Ph.D. student | | | Department of Computer Science and Engineering | | | School of OGI at OHSU | | | http://www.cse.ogi.edu/~diatchki | | ================================================== | | _______________________________________________ | Glasgow-haskell-bugs mailing list | Glasgow-haskell-bugs@xxxxxxxxxxx | http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | compiler (simplifier) loops, Iavor Diatchki |
|---|---|
| Next by Date: | ghc 6.0.1 and Mac OS X 10.2.6 build, Gregory Wright |
| Previous by Thread: | compiler (simplifier) loops, Iavor Diatchki |
| Next by Thread: | ghc 6.0.1 and Mac OS X 10.2.6 build, Gregory Wright |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |