| 1 |
/* PR tree-optimization/63464 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O2 -fdump-tree-optimized" } */ |
| 4 |
|
| 5 |
void bar (void); |
| 6 |
|
| 7 |
void |
| 8 |
foo (int x) |
| 9 |
{ |
| 10 |
if (x == 43 || x == 76 || x == 44 || x == 78 || x == 49 |
| 11 |
|| x == 77 || x == 46 || x == 75 || x == 45 || x == 82) |
| 12 |
bar (); |
| 13 |
} |
| 14 |
|
| 15 |
/* Check if the tests have been folded into a bit test. */ |
| 16 |
/* { dg-final { scan-tree-dump "(614180323407|0x0*8f0000004f)" "optimized" { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } } } */ |
| 17 |
/* { dg-final { scan-tree-dump "(<<|>>)" "optimized" { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } } } */ |