From: Andrew MacLeod <amacleod@redhat.com>
To: gcc-patches <gcc-patches@gcc.gnu.org>
Subject: [COMMITTED] tree-optimization/93781 - Adjust testcase to test the call is removed.
Date: Tue, 13 Jul 2021 09:45:08 -0400 [thread overview]
Message-ID: <7e15892d-93fa-6044-8197-7cfb2a7125a0@redhat.com> (raw)
[-- 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" } } */
+
reply other threads:[~2021-07-13 13:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e15892d-93fa-6044-8197-7cfb2a7125a0@redhat.com \
--to=amacleod@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).