* [COMMITTED] tree-optimization/93781 - Adjust testcase to test the call is removed.
@ 2021-07-13 13:45 Andrew MacLeod
0 siblings, 0 replies; only message in thread
From: Andrew MacLeod @ 2021-07-13 13:45 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 78 bytes --]
Ranger now resolves the first test in this series, so add the check.
Andrew
[-- Attachment #2: 93781.diff --]
[-- Type: text/x-patch, Size: 826 bytes --]
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" } } */
+
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-13 13:45 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:45 [COMMITTED] tree-optimization/93781 - 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).