[m-dev.] for review: compiler-generated procedures

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Oct 4 21:30:02 AEST 1999


On 30-Sep-1999, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> The code we were creating for the comparison procedure of an enumerated type
> called mercury__compare_3_3, which called the comparison procedure of the
> enumerated type (whose address was in the compare slot of the type_ctor_info).
> This was an infinite loop. I think it only used to work because higher-order
> specialization specialized the call to mercury__compare_3_3, but specialization
> is turned off for debugging.

Yes.  Specialization is also turned off at -O0 and -O1.
This bug is currently causing looping problems with the nightly/weekly
tests on taifun, kryten, and munta.  So it would be great if you
could commit the fix for that one sometime soon.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- 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