On 08/30/2017 10:33 AM, Rainer Orth wrote:
> Hi Martin,
> 
>> Yes, sorry for the missing entries. Fixed and installed as r251412.
>> Hopefully fall out will be small.
> 
> there's
> 
> UNRESOLVED: gcc.dg/tree-ssa/vrp104.c scan-tree-dump-times switchlower 
> "switch" 1
> 
> everywhere, it seems.  gcc.log has
> 
> gcc.dg/tree-ssa/vrp104.c: dump file does not exist
> 
> For one, the testcase needs -fdump-tree-switchlower now, and on
> i386-pc-solaris2.11 I find 2 instances of switch in the dump...
> 
> Please fix.
> 
>       Rainer
> 

Sorry for the breakage. Fixed by installing attach patch, which is obvious.

Martin
>From 60fd6e2bd2927acf33f7aab2c178cbfcd268d314 Mon Sep 17 00:00:00 2001
From: marxin <mli...@suse.cz>
Date: Wed, 30 Aug 2017 13:06:12 +0200
Subject: [PATCH] Fix test-case vrp104.c.

gcc/testsuite/ChangeLog:

2017-08-30  Martin Liska  <mli...@suse.cz>

	* gcc.dg/tree-ssa/vrp104.c: Change dump file name.
---
 gcc/testsuite/gcc.dg/tree-ssa/vrp104.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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.14.1

Reply via email to