[m-dev.] diff: --split-c-files => --no-call-trace-struct
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Oct 18 03:36:58 AEST 1999
Estimated hours taken: 0.1
compiler/handle_options.m:
If --split-c-files is set, then disable --call-trace-struct,
since currently the compiler generates invalid C code
if both of those options are enabled.
Workspace: /home/mercury0/fjh/mercury
Index: compiler/handle_options.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/handle_options.m,v
retrieving revision 1.79
diff -u -r1.79 handle_options.m
--- handle_options.m 1999/10/15 07:57:30 1.79
+++ handle_options.m 1999/10/17 17:34:08
@@ -268,6 +268,9 @@
% --split-c-files implies --procs-per-c-function 1
option_implies(split_c_files, procs_per_c_function, int(1)),
+ % currently --call-trace-struct does not work with --split-c-files
+ option_implies(split_c_files, call_trace_struct, bool(no)),
+
% Minimal model tabling is not compatible with trailing;
% see the comment in runtime/mercury_tabling.c.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- 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