Hi

So: Compiled with type=release (and therefore ghc-6.6 -O), yhc fails. And
compiled without type=release (and therefore ghc-6.6 without -O) yhc works.

Ok, I'll try this once more with both configurations and see what I
get. I don't think I tried type=release with 6.6

And further: I have tried the above on my machine. Unfortunately, the bug
(erroneous report) now disappears, i.e. after scons build yhc type=release,
yhc correctly reports "not files found". And, if I remove the assert that you
have inserted, the bug re-appears, i.e. yhc incorrectly reports "multiple
files" when there are, in fact, none.

Lovely, so the compiler is changing the behaviour based on the assert call...


I am now trying to introduce the assert in Error.hs instead, don't know if
this is a good idea. But in any case, I have the additional problem that
(according to ghc documentation), -O (which we need to see the error) implies
-fignore-asserts. So I am trying now with GHCFLAGS=-fno-ignore-asserts
scons ...

I've added a patch to use a hand coded assert which -fignore-asserts
won't take away.

Thanks

Neil
_______________________________________________
Yhc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/yhc

Reply via email to