aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-10-20 12:44:32 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-10-20 12:44:32 +0000
commit8bc598fffb6b83ca7c55e3d5abb0d12b82d2449d (patch)
treeb57f6fc6347f04651639d43fc5503166d5dc81fb
parenta3e4cd810c6f84e1b47f14dec2d3cba2985f9794 (diff)
downloadgcc-8bc598fffb6b83ca7c55e3d5abb0d12b82d2449d.zip
gcc-8bc598fffb6b83ca7c55e3d5abb0d12b82d2449d.tar.gz
gcc-8bc598fffb6b83ca7c55e3d5abb0d12b82d2449d.tar.bz2
slsr-19.c: Make robust against operand order changes.
2014-10-20 Richard Biener <rguenther@suse.de> * gcc.dg/tree-ssa/slsr-19.c: Make robust against operand order changes. * gcc.dg/tree-ssa/reassoc-20.c: Likewise. From-SVN: r216465
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/slsr-19.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c7c7388..50ac637 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-20 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/tree-ssa/slsr-19.c: Make robust against operand order changes.
+ * gcc.dg/tree-ssa/reassoc-20.c: Likewise.
+
2014-10-20 Martin Liska <mliska@suse.cz>
* gcc.dg/ipa/pr63595.c: New test.
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c
index 1cfb980..f3f48a1 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c
@@ -15,6 +15,6 @@ int main(void)
printf ("%d %d\n", e, f);
}
-/* { dg-final { scan-tree-dump-times "b.._. \\\+ a.._." 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\[ab\].._. \\\+ \[ab\].._." 1 "optimized" } } */
/* { dg-final { scan-tree-dump-times " \\\+ " 2 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/slsr-19.c b/gcc/testsuite/gcc.dg/tree-ssa/slsr-19.c
index c92730f..abbb3c3 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/slsr-19.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/slsr-19.c
@@ -16,7 +16,7 @@ f (int c, int s)
return x1 + x2;
}
-/* { dg-final { scan-tree-dump-times " \\* y" 1 "optimized" } } */
-/* { dg-final { scan-tree-dump-times " \\* 2" 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times " \\* " 2 "optimized" } } */
+/* { dg-final { scan-tree-dump-times " \\* 2;" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */