From d16c828e7aa2a704d887b071864823fc1e39670f Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 30 Aug 2017 13:09:39 +0200 Subject: [PATCH] Fix test-case vrp104.c. 2017-08-30 Martin Liska * gcc.dg/tree-ssa/vrp104.c: Change dump file name. From-SVN: r251462 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/tree-ssa/vrp104.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 24125f1886d..0107f9cea41 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-08-30 Martin Liska + + * gcc.dg/tree-ssa/vrp104.c: Change dump file name. + 2017-08-30 Richard Biener * g++.dg/pr78112-2.C: Do not expect duplicate DW_AT_object_pointer. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp104.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp104.c index aa3b00a1204..0a952267b29 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/vrp104.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp104.c @@ -1,6 +1,8 @@ /* PR tree-optimization/18046 */ -/* { dg-options "-O2 -fdump-tree-optimized" } */ -/* { dg-final { scan-tree-dump-times "switch" 1 "switchlower" } } */ +/* { 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" } } */ void foo (void); void bar (void); -- 2.30.2