| 1 |
/* PR tree-optimization/112566 */ |
| 2 |
/* { dg-do compile { target bitint575 } } */ |
| 3 |
/* { dg-options "-O2 -fdump-tree-ccp2" } */ |
| 4 |
/* { dg-final { scan-tree-dump-not "\\\((unsigned )?_BitInt\\\(512\\\)\\\)" "ccp2" } } */ |
| 5 |
|
| 6 |
int foo (unsigned _BitInt(256) x) { return __builtin_ctzg ((unsigned _BitInt(512)) x); } |
| 7 |
int bar (unsigned _BitInt(256) x) { return __builtin_popcountg ((unsigned _BitInt(512)) x); } |
| 8 |
int baz (unsigned _BitInt(256) x) { return __builtin_parityg ((unsigned _BitInt(512)) x); } |
| 9 |
int qux (_BitInt(256) x) { return __builtin_ffsg ((_BitInt(512)) x); } |
| 10 |
int corge (_BitInt(256) x) { return __builtin_ctzg ((unsigned _BitInt(512)) x); } |
| 11 |
int garply (_BitInt(256) x) { return __builtin_parityg ((unsigned _BitInt(512)) x); } |
| 12 |
int fred (unsigned _BitInt(256) x) { return __builtin_ffsg ((_BitInt(512)) x); } |