public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-5625] Change if-to-switch-conversion test. Date: Tue, 30 Nov 2021 13:48:45 +0000 (GMT) [thread overview] Message-ID: <20211130134845.AD944385C421@sourceware.org> (raw) https://gcc.gnu.org/g:7e846b0f13b8a111484eb3a330044726b9d7ad79 commit r12-5625-g7e846b0f13b8a111484eb3a330044726b9d7ad79 Author: Martin Liska <mliska@suse.cz> Date: Mon Nov 29 16:24:12 2021 +0100 Change if-to-switch-conversion test. PR tree-optimization/103278 gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/if-to-switch-5.c: Make the test acceptable by targets with no jump-tables. Diff: --- gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c index ceeae908821..54771e64e59 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c @@ -4,8 +4,8 @@ int crud (unsigned char c) { return (((((((((((int) c == 46) || (int) c == 44) - || (int) c == 58) || (int) c == 59) || (int) c == 60) - || (int) c == 62) || (int) c == 34) || (int) c == 92) + || (int) c == 58) || (int) c == 60) || (int) c == 62) + || (int) c == 64) || (int) c == 34) || (int) c == 92) || (int) c == 39) != 0); }
reply other threads:[~2021-11-30 13:48 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=20211130134845.AD944385C421@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@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: linkBe 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).