[m-dev.] diff: fix transitive intermodule optimization bug

Simon Taylor stayl at cs.mu.OZ.AU
Mon Feb 5 14:32:00 AEDT 2001


On Mon, Feb 05, 2001 at 01:58:12AM +1100, Fergus Henderson wrote:
> Estimated hours taken: 2.5
> 
> Fix a bug: if `--trans-intermod-opt' was included in MCFLAGS,
> then mmake would pass `--make-opt-int --trans-intermod-opt' to
> mmc when creating the `.opt' files, and this would cause the
> compiler to read the `.trans_opt' files when creating the `.opt'
> files.  That's a bug, since the `.opt' files are not supposed to
> depend on the `.trans_opt' files.
> 
> compiler/mercury_compile.m:
> 	Make sure that we don't read in the `.trans_opt' files
> 	when creating the `.opt' file.

That change looks fine. 

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