| 1 |
/* PR middle-end/114628 */ |
| 2 |
/* { dg-do compile { target bitint } } */ |
| 3 |
/* { dg-options "-O2 -g" } */ |
| 4 |
|
| 5 |
int foo (int); |
| 6 |
#if __BITINT_MAXWIDTH__ >= 129 |
| 7 |
__attribute__((returns_twice)) int bar (_BitInt(129) x); |
| 8 |
|
| 9 |
void |
| 10 |
baz (int x, _BitInt(129) y) |
| 11 |
{ |
| 12 |
void *q[] = { &&l1, &&l2 }; |
| 13 |
l2: |
| 14 |
x = foo (foo (3)); |
| 15 |
bar (y); |
| 16 |
goto *q[x & 1]; |
| 17 |
l1:; |
| 18 |
} |
| 19 |
|
| 20 |
void |
| 21 |
qux (int x, _BitInt(129) y) |
| 22 |
{ |
| 23 |
void *q[] = { &&l1, &&l2 }; |
| 24 |
l2: |
| 25 |
x = foo (foo (3)); |
| 26 |
bar (y); |
| 27 |
l1:; |
| 28 |
} |
| 29 |
#endif |