AVR: target/84211 - Add a post reload register optimization pass.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr58830.c
blob8081f8b2c27ce205d1f6f97ac09d71d9c1edbfb7
1 /* { dg-do run } */
2 /* { dg-additional-options "-ftree-pre -ftree-partial-pre" } */
4 extern void abort (void);
6 int b, c, d, f, g, h, i, j[6], *l = &b, *m, n, *o, r;
7 char k;
9 static int
10 foo ()
12 char *p = &k;
14 for (; d; d++)
15 if (i)
16 h = 0;
17 else
18 h = c || (r = 0);
20 for (f = 0; f < 2; f++)
22 unsigned int q;
23 *l = 0;
24 if (n)
25 *m = g;
26 if (g)
27 o = 0;
28 for (q = -8; q >= 5; q++)
29 (*p)--;
32 return 0;
35 int
36 main ()
38 foo ();
39 if (j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[j[0]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] ^ (k & 15)] != 0)
40 abort ();
41 return 0;