From 60ac5d9dd93ea7d95f69d9082eba0ed0d1a1baf0 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sun, 25 Mar 2018 06:14:25 +0000 Subject: [PATCH] [testsuite] Make scan pattern more precise in vrp104.c 2018-03-25 Tom de Vries * gcc.dg/tree-ssa/vrp104.c: Make scan-tree-dump-times pattern more precise. From-SVN: r258842 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/vrp104.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bcb9f653434..004c44c6bc0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-03-25 Tom de Vries + + * gcc.dg/tree-ssa/vrp104.c: Make scan-tree-dump-times pattern more + precise. + 2018-03-24 Jerry DeLisle PR fortran/69497 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp104.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp104.c index 0a952267b29..d4691fcf041 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/vrp104.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp104.c @@ -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); -- 2.30.2