aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-07-13 09:41:30 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-07-13 09:43:18 -0400
commitf75560398af6f1f696c820016f437af4e8b4265c (patch)
tree3526cb565740b80e60fab54b8de480cbb4001eee
parent9aa5001ef466e6162e4acc11c6999747299474f1 (diff)
downloadgcc-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.c4
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" } } */
+