diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-07-13 09:41:30 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-07-13 09:43:18 -0400 |
commit | f75560398af6f1f696c820016f437af4e8b4265c (patch) | |
tree | 3526cb565740b80e60fab54b8de480cbb4001eee | |
parent | 9aa5001ef466e6162e4acc11c6999747299474f1 (diff) | |
download | gcc-f75560398af6f1f696c820016f437af4e8b4265c.zip gcc-f75560398af6f1f696c820016f437af4e8b4265c.tar.gz gcc-f75560398af6f1f696c820016f437af4e8b4265c.tar.bz2 |
Adjust testcase to test the call is removed.
Ranger now handles the test.
gcc/testsuite
PR tree-optimization/93781
* gcc.dg/tree-ssa/pr93781-1.c: Check that call is removed.
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c index 5ebd805..b2505f3 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c @@ -12,7 +12,9 @@ void foo (unsigned int arg) if (a < 0) b = x; - /* In the fullness of time, we will delete this call. */ if (b >= 5) kill ();; } + +/* { dg-final { scan-tree-dump-not "kill" "evrp" } } */ + |