Files
mercury/tests/hard_coded/deforest_cc_bug.exp
Simon Taylor 95d7c88d3c Fix a compiler abort when compiling browser/declarative_user.m
Estimated hours taken: 1

Fix a compiler abort when compiling browser/declarative_user.m
with inter-module optimization and deforestation.

compiler/det_analysis.m:
	Check the inferred determinism when deciding whether a
	predicate should be in a single-solution context. The
	declared determinism is not set for procedures introduced
	by deforestation.

compiler/deforest.m:
	Don't attempt to improve the determinism of procedures
	with determinism cc_multi or cc_nondet -- those determinisms
	can't be inferred, and attempting to do so would cause
	errors in determinism analysis.

tests/hard_coded/Mmakefile:
tests/hard_coded/deforest_cc_bug.{m,exp}:
	Test case.
2002-04-29 05:50:45 +00:00

2 lines
7 B
Plaintext