Fix scan patterns for pr43864-{2,3,4].c
authorTom de Vries <tom@codesourcery.com>
Mon, 17 Nov 2014 21:48:05 +0000 (21:48 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 17 Nov 2014 21:48:05 +0000 (21:48 +0000)
2014-11-17  Tom de Vries  <tom@codesourcery.com>

* gcc.dg/pr43864-2.c: Fix scan-tree-dump-times scan pattern.
* gcc.dg/pr43864-3.c: Same.
* gcc.dg/pr43864-4.c: Same.

From-SVN: r217673

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr43864-2.c
gcc/testsuite/gcc.dg/pr43864-3.c
gcc/testsuite/gcc.dg/pr43864-4.c

index e8a7fbc..3f60449 100644 (file)
@@ -1,3 +1,9 @@
+2014-11-17  Tom de Vries  <tom@codesourcery.com>
+
+       * gcc.dg/pr43864-2.c: Fix scan-tree-dump-times scan pattern.
+       * gcc.dg/pr43864-3.c: Same.
+       * gcc.dg/pr43864-4.c: Same.
+
 2014-11-17  Alan Lawrence  <alan.lawrence@arm.com>
 
        * gcc.target/aarch64/vld1_lane.c: New test.
index f00fff9..6f531ba 100644 (file)
@@ -18,6 +18,6 @@ f (int c, int b, int d)
 }
 
 /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */
-/* { dg-final { scan-tree-dump-times "_.*\\\+.*_" 1 "pre"} } */
+/* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */
 /* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */
 /* { dg-final { cleanup-tree-dump "pre" } } */
index c4954e1..f013ff5 100644 (file)
@@ -19,6 +19,6 @@ int f(int c, int b, int d)
 }
 
 /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */
-/* { dg-final { scan-tree-dump-times "_.*\\\+.*_" 1 "pre"} } */
+/* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */
 /* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */
 /* { dg-final { cleanup-tree-dump "pre" } } */
index 42adfee..488206e 100644 (file)
@@ -23,7 +23,7 @@ int f(int c, int b, int d)
 }
 
 /* { dg-final { scan-tree-dump-times "if " 0 "pre"} } */
-/* { dg-final { scan-tree-dump-times "_.*\\\+.*_" 1 "pre"} } */
-/* { dg-final { scan-tree-dump-times " - " 2 "pre"} } */
+/* { dg-final { scan-tree-dump-times "(?n)_.*\\+.*_" 1 "pre"} } */
+/* { dg-final { scan-tree-dump-times "(?n)_.*-.*_" 2 "pre"} } */
 /* { dg-final { scan-tree-dump-not "Invalid sum" "pre"} } */
 /* { dg-final { cleanup-tree-dump "pre" } } */