[m-rev.] for review: change termination analysis error reporting

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jan 8 18:36:03 AEDT 2004


On 08-Jan-2004, Julien Fischer <juliensf at students.cs.mu.OZ.AU> wrote:
> 
> Modify the termination analysis so that when `--check-termination'
> is enabled and if there are no direct reasons (in the sense defined in
> term_errors.m) for the non-termination of a procedure then the indirect
> reasons are reported. (Currently indirect reasons will only be reported
> if `--verbose-check-termination' is enabled.)
> 
> This should reduce occurrences of the termination analysis reporting
> that termination cannot be proven for unknown reasons(s).
> 
> compiler/termination.m:
> 	Alter the reporting of error messages, so that if there are no
> 	direct cause of non-termination we report the indirect ones.

Do you need to update the expected output for the test cases
in tests/termination?

If so, please do so; if not, please add a test case to test this change.

Otherwise that looks fine to me.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list