gcc/testsuite/gcc.dg/bitint-89.c
raw| 1 | /* PR tree-optimization/113818 */ |
| 2 | /* { dg-do compile { target bitint } } */ |
| 3 | /* { dg-options "-Os -fnon-call-exceptions -finstrument-functions-once" } */ |
| 4 | |
| 5 | int c, i; |
| 6 | void bar (int *); |
| 7 | |
| 8 | #if __BITINT_MAXWIDTH__ >= 129 |
| 9 | _BitInt(129) *a; |
| 10 | #else |
| 11 | _BitInt(63) *a; |
| 12 | #endif |
| 13 | |
| 14 | void |
| 15 | foo (void) |
| 16 | { |
| 17 | if (c) |
| 18 | return; |
| 19 | int q; |
| 20 | a[i] = 0; |
| 21 | bar (&q); |
| 22 | } |