[m-dev.] for review: solutions/2 bug fixu

Tyson Richard DOWD trd at students.cs.mu.oz.au
Wed Mar 12 10:26:10 AEDT 1997

> Hi Tyson,
> Can you please review this one?
> Fix a bug in the implementation of solutions/2 that caused
> tests/hard_coded/ho_solns.m to fail in grades `fast' and `asm_fast' on
> library/std_util.m:
> 	Assign the result of deep_copy() to a C local variable, rather
> 	than to a Mercury register, because the immediately following
> 	call to restore_transient_registers() can clobber Mercury registers.

This change looks fine. Thanks for finding the problem.

       Tyson Dowd           # "Well, let's just say, 'if your VCR is
                            #  still blinking 12:00, you don't
     trd at cs.mu.oz.au        #  want Linux'". 
http://www.cs.mu.oz.au/~trd #  --Bruce Perens, Debian's Fearless Leader

More information about the developers mailing list