]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/bitint-7.c
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
5 #if __BITINT_MAXWIDTH__ >= 257
7 foo (_BitInt(135) *p
, _BitInt(193) *q
, _BitInt(257) *r
)
9 r
[0] = (((p
[0] + p
[1] + p
[2]) + q
[0] + (p
[3] + p
[4] + p
[5])) + q
[1]) + r
[1] + (((p
[6] + p
[7] + p
[8]) + q
[2] + (p
[9] + p
[10] + p
[11])) + q
[3]) + r
[2];