mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-24 13:53:54 +00:00
compiler/simplify_goal_call.m:
As above.
Also improve some comments, some predicate names, and formatting,
as part of a post-commit review.
tests/invalid/loopcheck.err_exp:
tests/warnings/infinite_recursion.exp:
tests/warnings/simple_code.exp:
Expect the predicate name in infinite loop warnings.
tests/tabling/Mercury.options:
tests/tabling/Mmakefile:
Disable warning about the infinite loop this test case tests
not by filtering out lines from the compiler output (which does not
work anymore due to the predicate name causing the warning to spill
onto a second line), but by simply asking the compiler not to generate
the warning.
Fix an old problem: the Mmakefile action for the loopcheck_nondet test case
was modifying a file that did not belong to it.
14 lines
642 B
Plaintext
14 lines
642 B
Plaintext
# With the Mercury system as of 17 September 1998,
|
|
# tc_minimal works on some machines even in the presence of a known bug
|
|
# if inlining is turned on, so we turn inlining off to make the test tougher.
|
|
MCFLAGS-tc_minimal = --no-inlining
|
|
|
|
MCFLAGS-reset_stats_intermod = --intermodule-optimisation
|
|
MCFLAGS-reset_stats_intermod_2 = --intermodule-optimisation
|
|
|
|
# We want to test the operation of the code that catches the infinite loop
|
|
# at *runtime*, so we don't want a warning about the infinite loop,
|
|
# turned into an error by --halt-at-warn, to cause the failure of test case
|
|
# at *compile* time.
|
|
MCFLAGS-loopcheck = --no-warn-simple-code
|