PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / thumb-comparisons.c
blob45be2cf74f075d24daa6d0336fa4c02486fc8353
1 /* { dg-do compile } */
2 /* { dg-options "-mthumb -Os" } */
3 /* { dg-require-effective-target arm_thumb1_ok } */
5 int foo(char ch)
7 switch (ch) {
8 case '-':
9 case '?':
10 case '/':
11 case 99:
12 return 1;
13 default:
14 return 0;
18 /* { dg-final { scan-assembler-times "cmp\[\\t \]*r.,\[\\t \]*#63" 1 } } */