[m-dev.] trivial diff: fix infinite_recursion test case failure
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Oct 31 13:36:03 AEDT 2000
This fixes a test case failure for MCFLAGS=-O1 or lower.
----------
Estimated hours taken: 0.25
tests/warnings/Mmakefile:
Pass `--excess-assign --common-struct' to mmc for the
infinite_recursion test case, since some of the warnings
for infinite recursion don't show up at lower optimization
levels unless those optimizations are explicitly enabled.
Workspace: /home/pgrad/fjh/ws/hg
Index: tests/warnings/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/warnings/Mmakefile,v
retrieving revision 1.13
diff -u -d -r1.13 Mmakefile
--- tests/warnings/Mmakefile 2000/04/19 07:26:31 1.13
+++ tests/warnings/Mmakefile 2000/10/31 02:32:19
@@ -33,6 +33,11 @@
MCFLAGS-unused_args_test = --warn-unused-args
MCFLAGS-unused_import = --warn-interface-imports
MCFLAGS-inference_test = --infer-all
+MCFLAGS-infinite_recursion = --excess-assign --common-struct
+ # we need to explicitly enable those
+ # optimizations because some of the
+ # infinite recursion warnings don't
+ # show up at lower optimization levels
#-----------------------------------------------------------------------------#
--
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