From: Martin Liska Date: Wed, 30 Aug 2017 11:09:39 +0000 (+0200) Subject: Fix test-case vrp104.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d16c828e7aa2a704d887b071864823fc1e39670f;p=gcc.git Fix test-case vrp104.c. 2017-08-30 Martin Liska * gcc.dg/tree-ssa/vrp104.c: Change dump file name. From-SVN: r251462 --- 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);