]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Change if-to-switch-conversion test.
authorMartin Liska <mliska@suse.cz>
Mon, 29 Nov 2021 15:24:12 +0000 (16:24 +0100)
committerMartin Liska <mliska@suse.cz>
Tue, 30 Nov 2021 13:47:31 +0000 (14:47 +0100)
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.

gcc/testsuite/gcc.dg/tree-ssa/if-to-switch-5.c

index ceeae9088216470e591632ce417386eaf4d02a95..54771e64e591b935998024de1d749c3666051643 100644 (file)
@@ -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);
 }