| 1 |
/* PR tree-optimization/113330 */ |
| 2 |
/* { dg-do compile { target bitint } } */ |
| 3 |
/* { dg-require-stack-check "generic" } */ |
| 4 |
/* { dg-options "-std=c23 -O --param=large-stack-frame=131072 -fstack-check=generic --param=sccvn-max-alias-queries-per-access=0" } */ |
| 5 |
|
| 6 |
_BitInt(8) a; |
| 7 |
|
| 8 |
static inline __attribute__((__always_inline__)) void |
| 9 |
bar (int, int, int, int, int, int, int, int) |
| 10 |
{ |
| 11 |
#if __BITINT_MAXWIDTH__ >= 65535 |
| 12 |
_BitInt(65535) b = 0; |
| 13 |
_BitInt(383) c = 0; |
| 14 |
#else |
| 15 |
_BitInt(63) b = 0; |
| 16 |
_BitInt(39) c = 0; |
| 17 |
#endif |
| 18 |
a = b; |
| 19 |
} |
| 20 |
|
| 21 |
void |
| 22 |
foo (void) |
| 23 |
{ |
| 24 |
bar (0, 0, 0, 0, 0, 0, 0, 0); |
| 25 |
} |