gcc/testsuite/gcc.dg/bitint-79.c
raw| 1 | /* PR tree-optimization/113639 */ |
| 2 | /* { dg-do compile { target bitint } } */ |
| 3 | /* { dg-options "-O2 -std=c23" } */ |
| 4 | |
| 5 | int j, k; |
| 6 | #if __BITINT_MAXWIDTH__ >= 162 |
| 7 | struct S { _BitInt(162) n; }; |
| 8 | void bar (_BitInt(162) x); |
| 9 | |
| 10 | void |
| 11 | foo (struct S s) |
| 12 | { |
| 13 | bar (s.n * j); |
| 14 | (void) (s.n * k); |
| 15 | } |
| 16 | #endif |