Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/pr69320-2.c

raw
1
2 #include <stdlib.h>
3
4 int a, *c, d, e, g, f;
5 short b;
6
7 int
8 fn1 ()
9 {
10 int h = d != 10;
11 if (h > g)
12 asm volatile ("" : : : "memory");
13 if (h == 10)
14 {
15 int *i = 0;
16 a = 0;
17 for (; a < 7; a++)
18 for (; *i;)
19 ;
20 }
21 else
22 {
23 b = e / h;
24 return f;
25 }
26 c = &h;
27 abort ();
28 }
29
30 int
31 main ()
32 {
33 fn1 ();
34 exit (0);
35 }