Debian Codegraph @

gcc/testsuite/gcc.dg/pr100512.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wno-pointer-to-int-cast" } */
3
4 #include <stdint.h>
5 int a;
6 void b() {
7 int16_t *c;
8 uint16_t d = 2;
9 if (0 == d) {
10 uint64_t e;
11 uint64_t *f = &e;
12 for (;;) {
13 if (e += 0 >= 0)
14 for (;;)
15 ;
16 g:
17 for (; a;) {
18 int16_t i = (int16_t) &d;
19 *c = i && *f;
20 }
21 }
22 }
23 goto g;
24 }
25