From: Martin Liska Date: Mon, 29 Nov 2021 15:24:12 +0000 (+0100) Subject: Change if-to-switch-conversion test. X-Git-Tag: basepoints/gcc-13~2688 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e846b0f13b8a111484eb3a330044726b9d7ad79;p=thirdparty%2Fgcc.git 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 --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 ceeae9088216..54771e64e591 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); }