Fix test results on cr16 and xstormy16
authorJeff Law <jlaw@tachyum.com>
Mon, 3 May 2021 14:52:57 +0000 (08:52 -0600)
committerJeff Law <jlaw@tachyum.com>
Mon, 3 May 2021 14:52:57 +0000 (08:52 -0600)
gcc/testsuite
* gcc.dg/tree-ssa/ssa-dse-26.c: Update expected output for
cr16 and xstormy16 targets.

gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-26.c

index 271e666..1321fec 100644 (file)
@@ -31,8 +31,8 @@ constraint_equal (struct constraint a, struct constraint b)
 }
 
 /* Most targets should be using this test.  */
-/* { dg-final { scan-tree-dump-times "Deleted dead store: x = " 1 "dse1" { target { ! { tic6x-*-* mmix-knuth-mmixware } } } } } */
-/* { dg-final { scan-tree-dump-times "Deleted dead store: y = " 1 "dse1" { target { ! { tic6x-*-* mmix-knuth-mmixware } } } } } */
+/* { dg-final { scan-tree-dump-times "Deleted dead store: x = " 1 "dse1" { target { ! { tic6x-*-* mmix-knuth-mmixware cr16*-*-* xstormy16-*-*-* } } } } } */
+/* { dg-final { scan-tree-dump-times "Deleted dead store: y = " 1 "dse1" { target { ! { tic6x-*-* mmix-knuth-mmixware cr16*-*-* xstormy16-*-*-* } } } } } */
 
 /* The c6x port generates significantly different gimple which
    changes the SRA and DSE decisions.   Verify we remove all
@@ -42,3 +42,6 @@ constraint_equal (struct constraint a, struct constraint b)
 /* { dg-final { scan-tree-dump-times "Deleted dead store: x::. = " 1 "dse1" { target mmix-knuth-mmixware } } } */
 /* { dg-final { scan-tree-dump-times "Deleted dead store: y::. = " 1 "dse1" { target mmix-knuth-mmixware } } } */
 
+/* And more special cases
+/* { dg-final { scan-tree-dump-times "Deleted dead store: x = " 2 "dse1" { target cr16*-*-* xstormy16-*-*-*} } } */
+/* { dg-final { scan-tree-dump-times "Deleted dead store: y = " 2 "dse1" { target cr16*-*-* xstormy16-*-*-*} } } */