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 e8a7fbc75282aefab04d1b5b68cf0817bf63f997..3f604491e25ef1e39ecce0b0cfb9207bc5760654 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 f00fff9fa91b8bc70c131289767ab16f16993526..6f531ba02d5d5060544a4a5d5e11ada26d03b1b6 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 c4954e1bd7283db616ba7a58adb492402d26b749..f013ff52eb80cdffb946e9cbba8ee858a07c4d58 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 42adfeefe952d6f858b7ba2a9bf9ba1143a95ec4..488206ed17fe766f1eaae81cd981aacf6bbeff18 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" } } */