From 65854626304d50cf348af53de1c29ccec06d33c6 Mon Sep 17 00:00:00 2001 From: Andrew MacLeod Date: Fri, 20 Nov 2020 10:37:26 -0500 Subject: [PATCH] re: FAIL: gcc.dg/pr97515.c Adjust testcase to check in CCP not EVRP. gcc/testuite/ * gcc.dg/pr97515.c: Check in ccp2, not evrp. --- gcc/testsuite/gcc.dg/pr97515.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.dg/pr97515.c b/gcc/testsuite/gcc.dg/pr97515.c index 84f145a261f..b4f2481cb03 100644 --- a/gcc/testsuite/gcc.dg/pr97515.c +++ b/gcc/testsuite/gcc.dg/pr97515.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-evrp" } */ +/* { dg-options "-O2 -fdump-tree-ccp2" } */ int e7 (int gg) @@ -20,6 +20,8 @@ e7 (int gg) return xe; } -/* EVRP should be able to reduce this to a single goto. */ +/* EVRP should be able to reduce this to a single goto when we can + * revisit statements to try folding again based on changed inputs. + * Until then, make sure its gone by ccp2. */ -/* { dg-final { scan-tree-dump-times "goto" 1 "evrp" } } */ +/* { dg-final { scan-tree-dump-times "goto" 1 "ccp2" } } */ -- 2.30.2