public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/PR103278-fix-test-case)] Change if-to-switch-conversion test.
@ 2021-11-29 15:25 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-29 15:25 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:313afecd0e3727ca785bcde91f05612697c320a3
commit 313afecd0e3727ca785bcde91f05612697c320a3
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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-29 15:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 15:25 [gcc(refs/users/marxin/heads/PR103278-fix-test-case)] Change if-to-switch-conversion test Martin Liska
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).