2 /* { dg-do run { target bitint } } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
4 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O0" "-O2" } } */
5 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
7 #if __BITINT_MAXWIDTH__ >= 135
8 __attribute__((noipa
)) void
9 test135 (_BitInt(135) *p
)
11 *p
= 18514202188641047858083570207027263585014wb
;
15 #if __BITINT_MAXWIDTH__ >= 512
16 __attribute__((noipa
)) void
17 test512 (_BitInt(512) *p
)
19 *p
= -3850276968594657220525735372507394006353780328347442833283734788531702263728014201878916354908375176401574990646289191313473197873422312093114382157952958wb
;
26 #if __BITINT_MAXWIDTH__ >= 135
29 if (b135
!= 18514202188641047858083570207027263585014wb
)
32 #if __BITINT_MAXWIDTH__ >= 512
35 if (b512
!= -3850276968594657220525735372507394006353780328347442833283734788531702263728014201878916354908375176401574990646289191313473197873422312093114382157952958wb
)