mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-17 10:23:46 +00:00
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.
2 lines
7 B
Plaintext
2 lines
7 B
Plaintext
123456
|