Files
mercury/tests/hard_coded/any_call_hoist_bug.exp
Julien Fischer 388b2f6f76 Fix a bug with loop invariant hoisting that was breaking some of the solvers
Estimated hours taken: 6
Branches: main, release

Fix a bug with loop invariant hoisting that was breaking some of the solvers
in G12.  The problem was that calls (or in the specific instance of the bug
a typeclass method call) had modes which had inst any components were being
hoisted leading to incorrect behaviour.  The fix is to not hoist such goals.

compiler/loop_inv.m:
	Fix the above bug.

	Minor style cleanups - in particular reduce the amount of module
	qualification.

compiler/hlds_goal.m:
compiler/inst_util.m:
	Minor cleanups.

tests/hard_coded/Mmakefile:
tests/hard_coded/Mercury.options:
tests/hard_coded/any_call_hoist_bug.{m,exp}:
	Test case for the above.
2006-06-30 12:51:55 +00:00

1 line
45 B
Plaintext

[5 - 561, 4 - 562, 3 - 563, 2 - 564, 1 - 565]