Debian Codegraph @

gcc/testsuite/gcc.dg/pr115221.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 typedef unsigned uint32_t;
5 int cde40_t;
6 int offset;
7 void aal_test_bit();
8 uint32_t cde40_key_pol();
9 long cde40_offset_check(uint32_t pos) {
10 cde40_key_pol();
11 if (cde40_t)
12 return (offset - 2) % (((pos == 3) ? 18 : 26)) != 0;
13 return 0;
14 }
15 void cde40_check_struct() {
16 uint32_t i, j, to_compare;
17 for (;; i++) {
18 cde40_offset_check(i);
19 if (to_compare == 0) {
20 if (i && cde40_key_pol())
21 ;
22 to_compare = i;
23 continue;
24 }
25 j = to_compare;
26 for (; j < i; j++)
27 aal_test_bit();
28 }
29 }