[m-rev.] diff: fix arg_order_rearrangement test failure

Peter Ross pro at missioncriticalit.com
Mon Jul 29 23:17:24 AEST 2002


Hi,


===================================================================


Estimated hours taken: 1
Branches: main

tests/warnings/Mmakefile:
	Add --trace-optimized to the compilation flags for
	arg_order_rearrangement.  This ensures that in the debug grade
	that the optimization options aren't disabled, hence leading to the
	failure of this test case.

Index: tests/warnings/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/warnings/Mmakefile,v
retrieving revision 1.19
diff -u -r1.19 Mmakefile
--- tests/warnings/Mmakefile	29 Apr 2002 08:22:07 -0000	1.19
+++ tests/warnings/Mmakefile	29 Jul 2002 13:13:00 -0000
@@ -39,7 +39,9 @@
 	# the arg_order_rearrangement warning doesn't show up at
 	# lower optimization levels.
 MCFLAGS-arg_order_rearrangment	= --introduce-accumulators \
-					--excess-assign --common-struct
+					--excess-assign --common-struct \
+					--trace-optimized
+
 MCFLAGS-duplicate_call		= --warn-duplicate-calls
 MCFLAGS-unused_args_test	= --warn-unused-args
 MCFLAGS-unused_import		= --warn-interface-imports

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