public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2284] Adjust testcase to test the call is removed.
@ 2021-07-13 13:43 Andrew Macleod
  0 siblings, 0 replies; only message in thread
From: Andrew Macleod @ 2021-07-13 13:43 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f75560398af6f1f696c820016f437af4e8b4265c

commit r12-2284-gf75560398af6f1f696c820016f437af4e8b4265c
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:
---
 gcc/testsuite/gcc.dg/tree-ssa/pr93781-1.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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" } }  */
+


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-13 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 13:43 [gcc r12-2284] Adjust testcase to test the call is removed Andrew Macleod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).