ghc -O
Simon Peyton-Jones
simonpj at microsoft.com
Thu Nov 1 05:45:59 EST 2001
OK, I've committed the fix to this. It's a long-standing bug
that I can't think how I managed to put in in the first place,
but it was tickled into life by the newtype with a forall inside it.
You can check out a new compiler (head or branch) or
wait for 5.02. Meanwhile, a workaround is to use a data type
instead of a newtype.
Thanks for the report
Simon
| -----Original Message-----
| From: Koen Claessen [mailto:koen at safelogic.se]
| Sent: 31 October 2001 16:31
| To: Simon Marlow
| Cc: glasgow-haskell-bugs at haskell.org
| Subject: ghc -O
|
|
| Simon Marlow wrote:
|
| | Thanks, I've fixed both of these.
|
| Great!
|
| Now I have discovered another bug in GHC. It happens very
| often that I get a "the impossible happened" when I run GHC
| with the -O flag.
|
| Here is an example. I attached two files. When running "ghc
| -o --make FormParse.hs", I get the impossible error.
|
| /Koen.
|
More information about the Glasgow-haskell-bugs
mailing list