diff mbox series

[COMMITTED] tree-optimization/93781 - Adjust testcase to test the call is removed.

Message ID 7e15892d-93fa-6044-8197-7cfb2a7125a0@redhat.com
State New
Headers show
Series [COMMITTED] tree-optimization/93781 - Adjust testcase to test the call is removed. | expand

Commit Message

Andrew MacLeod July 13, 2021, 1:45 p.m. UTC
Ranger now resolves the first test in this series, so add the check.

Andrew
diff mbox series

Patch

commit f75560398af6f1f696c820016f437af4e8b4265c
Author: Andrew MacLeod <amacleod@redhat.com>
Date:   Tue Jul 13 09:41:30 2021 -0400

    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.

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c b/gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c
index 5ebd8053965..b2505f3959d 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" } }  */
+