[m-dev.] lcc bugs
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Feb 14 04:34:10 AEDT 2001
Lots of the test cases are failing when using lcc as the C compiler.
These include lots of failures (starting with tests/debug/*) in grade
`none' and `none.prof'. After many hours of debugging, I tracked one
of these down. It turned out to be due to lcc having miscompiled the
code in the `MR_save_context()' macro called from mercury_runtime_init();
the code that lcc generates leaves the Mercury heap pointer invalid,
and things go downhill from there :-(
Also lcc gets an internal error compiling the C code for the new
hash_table module that Ralph added recently.
I've reported both of these bugs via the official lcc bug report
channel, the newsgroup comp.compilers.lcc.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list