Debian Codegraph @

gcc/testsuite/gcc.dg/pr116003.c

raw
1 /* { dg-do compile { target bitint575 } } */
2 /* { dg-options "-O2 -fnon-call-exceptions -fprofile-arcs -finstrument-functions -fno-tree-copy-prop" } */
3
4 _BitInt(5) b5;
5
6 char c;
7 int i;
8 _BitInt(129) b129;
9
10 void
11 foo(_BitInt(128) b128)
12 {
13 l50:
14 b128 %= b128 - b129;
15 l64:
16 b128 %= c;
17 if (__builtin_add_overflow(i, 0, &c))
18 goto l50;
19 if (__builtin_sub_overflow(c, 0, &b5))
20 goto l64;
21 }