[testsuite] Make scan pattern more precise in vrp104.c
authorTom de Vries <tom@codesourcery.com>
Sun, 25 Mar 2018 06:14:25 +0000 (06:14 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 25 Mar 2018 06:14:25 +0000 (06:14 +0000)
2018-03-25  Tom de Vries  <tom@codesourcery.com>

* gcc.dg/tree-ssa/vrp104.c: Make scan-tree-dump-times pattern more
precise.

From-SVN: r258842

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/vrp104.c

index bcb9f6534348db4e017b59e5905f7838890404a7..004c44c6bc0f0b726b6390d5240de3e2e41c84f9 100644 (file)
@@ -1,3 +1,8 @@
+2018-03-25  Tom de Vries  <tom@codesourcery.com>
+
+       * gcc.dg/tree-ssa/vrp104.c: Make scan-tree-dump-times pattern more
+       precise.
+
 2018-03-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR fortran/69497
index 0a952267b29de9e567553e1665831aec917aa45e..d4691fcf041bb0705fa15e161782c7597fb7e0a2 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-options "-O2 -fdump-tree-switchlower" }  */
 /* We scan for 2 switches as the dump file reports a transformation,
    IL really contains just a single.  */
-/* { dg-final { scan-tree-dump-times "switch" 2 "switchlower" } }  */
+/* { dg-final { scan-tree-dump-times "switch \\(i_" 2 "switchlower" } }  */
 
 void foo (void);
 void bar (void);