Commit e0678350 by Jeff Law

Fix "regression" reported by c6x testing.

	* gcc.dg/tree-ssa/ssa-dse-26.c: Make existing dg-final scan
	conditional on !c6x.  Add dg-final scan pattern for c6x.
parent 97b40c39
2020-01-30 Jeff Law <law@redhat.com
* gcc.dg/tree-ssa/ssa-dse-26.c: Make existing dg-final scan
conditional on !c6x. Add dg-final scan pattern for c6x.
2020-01-30 Martin Sebor <msebor@redhat.com> 2020-01-30 Martin Sebor <msebor@redhat.com>
PR middle-end/92323 PR middle-end/92323
......
...@@ -30,6 +30,13 @@ constraint_equal (struct constraint a, struct constraint b) ...@@ -30,6 +30,13 @@ constraint_equal (struct constraint a, struct constraint b)
&& constraint_expr_equal (a.rhs, b.rhs); && constraint_expr_equal (a.rhs, b.rhs);
} }
/* { dg-final { scan-tree-dump-times "Deleted dead store: x = " 1 "dse1" } } */ /* Most targets should be using this test. */
/* { dg-final { scan-tree-dump-times "Deleted dead store: y = " 1 "dse1" } } */ /* { dg-final { scan-tree-dump-times "Deleted dead store: x = " 1 "dse1" { target { ! tic6x-*-* } } } } */
/* { dg-final { scan-tree-dump-times "Deleted dead store: y = " 1 "dse1" { target { ! tic6x-*-* } } } } */
/* The c6x port generates significantly different gimple which
changes the SRA and DSE decisions. Verify we remove all
dead stores. */
/* { dg-final { scan-tree-dump-times "Deleted dead store: \[ax\].. = " 2 "dse1" { target tic6x-*-* } } } */
/* { dg-final { scan-tree-dump-times "Deleted dead store: \[by\].. = " 2 "dse1" { target tic6x-*-* } } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment