| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
|
| 4 |
unsigned char foo (unsigned char c) |
| 5 |
{ |
| 6 |
return (c >= '0') && (c <= '9'); |
| 7 |
} |
| 8 |
/* We shouldn't need any zero-extension idioms here. */ |
| 9 |
/* { dg-final { scan-assembler-not "\t(uxtb|and|lsr|lsl)" { xfail arm_thumb1 } } } */ |