gcc/testsuite/gcc.target/cris/pr93372-45.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2" } */ |
| 3 | /* { dg-final { scan-assembler-not {\tcmp|\ttest} } } */ |
| 4 | |
| 5 | extern void foo(void); |
| 6 | unsigned int x (unsigned int b, unsigned int a, unsigned int *c) |
| 7 | { |
| 8 | unsigned int y = a & 15; |
| 9 | unsigned int z = y + b; |
| 10 | if (y == 0) |
| 11 | *c = z; |
| 12 | return z; |
| 13 | } |