[m-dev.] for review: trailing for the MLDS back-end

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Dec 14 12:55:33 AEDT 2000


On 14-Dec-2000, Robert Jeschofnik <rejj at students.cs.mu.oz.au> wrote:
> On 13-Dec-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> 
> > I changed the behaviour for nondet pragma c_code so that
> > rather than calling error/1, it instead generates code
> > which calls error/1.  With that change, and others
> > described below, I can build the compiler in grade
> > hlc.gc.tr and pass the tests in extras/trailed_update.
> 
> Perhaps it would be good if the compiler also gave a warning in this case?

Easier said than done, unfortunately.

> This also shouldn't hinder bootchecking, unless there are nondet pragma
> foreig_code's in the compiler, which I am going to guess that there are not.

There are nondet pragma foreign_code's in the standard library,
and the standard library is compiled with --halt-at-warn.

-- 
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