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.
This commit is contained in:
Martin Liska 2021-11-29 16:24:12 +01:00
parent 67013a2f71
commit 7e846b0f13

View 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);
}