Zoltan Somogyi c745c93c1d Fix an old bug: when invoking the compiler with -vS, many of the statistics
Estimated hours taken: 1
Branches: main

Fix an old bug: when invoking the compiler with -vS, many of the statistics
printed didn't say what they are for, because the relevant messages were
enabled only with -V.

compiler/options.m:
	Add a new option, detailed_statistics. This option is not visible
	to users.

compiler/handle_options.m:
	Set detailed_statistics only if -v and -S are both set.

compiler/mercury_compile.m:
compiler/modes.m:
compiler/modules.m:
compiler/optimize.m:
compiler/typecheck_errors.m:
	In a bunch of places where progress messages are enabled only with -V
	and not with -v, consult detailed_statistics instead of statistics
	to decide whether to print statistics, in order to make sure you
	get only interpretable statistics.

compiler/make_hlds_passes.m:
	Print messages before two statistics reports, because otherwise the
	statistics are not interpretable. Don't print stats for module
	optimization, since it is now a no-op.

compiler/cse_detection.m:
	Print statistics if detailed_statistics is set. This is useful because
	in some cases, cse_detection can be expensive (it reruns mode
	analysis).

compiler/simplify.m:
	Print statistics if detailed_statistics is set. This is useful because
	in some cases, simplify can be expensive.
2005-10-25 06:33:03 +00:00
2005-10-05 06:34:27 +00:00
2005-10-23 07:39:23 +00:00
2005-10-06 09:27:49 +00:00
2005-10-24 02:02:17 +00:00

Reportedly Mercury does not work on Solaris 2.5.1 if it is compiled with
gcc 2.7.x.  It should however work fine on Solaris 2.5.1 if you compile
it with gcc 2.8, or if you use gcc 2.7.x with an earlier version of Solaris.

The binary distribution for Solaris that we distribute was compiled
with gcc 2.7.2, so if you have Solaris 2.5.1, you may need to compile
Mercury yourself from our source distribution.

("Solaris 2.x" is also known as "SunOS 5.x".)
Description
No description provided
Readme MIT 248 MiB
Languages
Mercury 85.3%
C 8.7%
Shell 1.4%
Makefile 1%
JavaScript 1%
Other 2.1%