From: Richard Biener Date: Mon, 20 Oct 2014 12:44:32 +0000 (+0000) Subject: slsr-19.c: Make robust against operand order changes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bc598fffb6b83ca7c55e3d5abb0d12b82d2449d;p=gcc.git slsr-19.c: Make robust against operand order changes. 2014-10-20 Richard Biener * gcc.dg/tree-ssa/slsr-19.c: Make robust against operand order changes. * gcc.dg/tree-ssa/reassoc-20.c: Likewise. From-SVN: r216465 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c7c73887b62..50ac637d5d6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-10-20 Richard Biener + + * 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 * 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 1cfb9809393..f3f48a1b1b7 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 c92730f40d5..abbb3c3639e 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" } } */