gcc/testsuite/gcc.dg/bitint-48.c
raw| 1 | /* PR tree-optimization/112809 */ |
| 2 | /* { dg-do compile { target bitint } } */ |
| 3 | /* { dg-options "-O2" } */ |
| 4 | |
| 5 | #if __BITINT_MAXWIDTH__ >= 512 |
| 6 | _BitInt (512) a; |
| 7 | _BitInt (256) b; |
| 8 | _BitInt (256) c; |
| 9 | |
| 10 | int |
| 11 | foo (void) |
| 12 | { |
| 13 | return a == (b | c); |
| 14 | } |
| 15 | |
| 16 | void |
| 17 | bar (void) |
| 18 | { |
| 19 | a /= b - 2; |
| 20 | } |
| 21 | #else |
| 22 | int i; |
| 23 | #endif |