diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2020-11-20 10:37:26 -0500 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2020-11-20 11:08:43 -0500 |
commit | 65854626304d50cf348af53de1c29ccec06d33c6 (patch) | |
tree | 8bd7d1f971623d9695325f71ae54cbfbe7dbd5ae | |
parent | f671b3d79fe1ff729e1a3478e38c4839e439d90b (diff) | |
download | gcc-65854626304d50cf348af53de1c29ccec06d33c6.zip gcc-65854626304d50cf348af53de1c29ccec06d33c6.tar.gz gcc-65854626304d50cf348af53de1c29ccec06d33c6.tar.bz2 |
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.
-rw-r--r-- | gcc/testsuite/gcc.dg/pr97515.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/pr97515.c b/gcc/testsuite/gcc.dg/pr97515.c index 84f145a..b4f2481 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" } } */ |