slsr-19.c: Make robust against operand order changes.
authorRichard Biener <rguenther@suse.de>
Mon, 20 Oct 2014 12:44:32 +0000 (12:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 20 Oct 2014 12:44:32 +0000 (12:44 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/reassoc-20.c
gcc/testsuite/gcc.dg/tree-ssa/slsr-19.c

index c7c73887b62da931db8474a0103ba7d1beca03e9..50ac637d5d6166ec77de22240881d4e4cbe16582 100644 (file)
@@ -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.
index 1cfb9809393c2d9fd3cd58c537101b2cf92fa339..f3f48a1b1b794641e1593d6e0b4f3c7badb8771a 100644 (file)
@@ -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" } } */
index c92730f40d509574e37fd68ab92e0aeae0327331..abbb3c3639e898846be63067112d2fff7ece53d9 100644 (file)
@@ -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" } } */