| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
|
| 4 |
int a,b; |
| 5 |
void func0(int x) { a=x * (x || b); } |
| 6 |
void func1(int x) { a=x * !(x || b); } |
| 7 |
|
| 8 |
/* { dg-final { scan-assembler-not "or" } } */ |
| 9 |
/* { dg-final { scan-assembler-not "cmove" } } */ |
| 10 |
|