1 /* PR tree-optimization/113372 */
2 /* { dg-do run { target bitint } } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
4 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O0" "-O1" "-O2" } } */
5 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
9 #if __BITINT_MAXWIDTH__ >= 6384
13 _BitInt(4745) x
= -(b
% y
) * b
;
14 int i
= __builtin_sub_overflow_p (-y
, 0, 0);
15 c
|= __builtin_add_overflow_p (i
, 0, a
);
23 #if __BITINT_MAXWIDTH__ >= 6384
24 if (foo (4) != 0 || c
!= 0)