Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr56488.c

raw
1 /* { dg-do run { target { size32plus } } } */
2 /* { dg-require-effective-target int32plus } */
3
4 int a, c, d = 1;
5 struct S { int s; } b, f;
6 short e;
7
8 static void
9 foo (int x)
10 {
11 int g[] = { };
12 for (e = 0; e != 1; e = e + 5)
13 {
14 int *h[1] = { &g[0] };
15 if (!x)
16 return;
17 f = b;
18 }
19 }
20
21 int
22 main ()
23 {
24 int i, j;
25 for (i = 0; i < 6; i++)
26 for (j = 8; j; j--)
27 a = 0;
28 foo (d);
29 while (c)
30 ;
31 return 0;
32 }