Files
mercury/tests/hard_coded/opt_dup_bug.exp
Zoltan Somogyi 205120b240 Fix a bug reported by Ian.
Estimated hours taken: 1
Branches: main

Fix a bug reported by Ian.

compiler/peephole.m:
	Document the restriction on the application of the patterns concerning
	assignments to redoips.

compiler/opt_util.m:
	Fix the bug in the utility predicate used by peephole.m.

tests/hard_coded/opt_dup_bug.{m,exp}:
	The test case provided by Ian, with an explanation of the bug.

tests/hard_coded/Mmakefile:
tests/hard_coded/Mercury.options:
	Enable the new test case, and run it with the options that expose the
	bug if it exists.
2006-11-14 21:36:27 +00:00

4 lines
12 B
Plaintext