Debian Codegraph @

gcc/testsuite/gcc.dg/bitint-52.c

raw
1 /* PR tree-optimization/112902 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23 -O2" } */
4
5 double c;
6 #if __BITINT_MAXWIDTH__ >= 2048
7 _BitInt (512) a;
8 _BitInt (2048) b;
9
10 void
11 foo (void)
12 {
13 b = __builtin_mul_overflow_p (40, (_BitInt (512)) (-b * a), 0);
14 }
15
16
17 void
18 bar (void)
19 {
20 c -= (unsigned _BitInt (512)) (a | a << b);
21 }
22 #endif