From: Andrew MacLeod Date: Fri, 20 Nov 2020 15:37:26 +0000 (-0500) Subject: re: FAIL: gcc.dg/pr97515.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65854626304d50cf348af53de1c29ccec06d33c6;p=gcc.git 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. --- 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" } } */