Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / loop-unswitch-5.c
blobb41e85379ae6e29ce45edf48039dfa1517814f1c
1 /* PR middle-end/71691 */
2 /* { dg-do run } */
3 /* { dg-options "-fno-tree-vrp -O2 -funswitch-loops -fdump-tree-unswitch-details" } */
5 /* Note: The -fno-tree-vrp above is only there to avoid VRP papering
6 over the problem. */
8 char b;
9 short f;
10 unsigned e;
11 int g = 20;
13 void
14 foo ()
16 int l, h;
17 for (l = 0; l <= 7; l++)
19 int j = 38;
20 if (g)
21 h = 0;
22 for (; h <= 7; h++)
24 int i, k = b % (j % 4);
25 g = f;
26 for (;;)
28 j = 6 || b;
29 if (e)
31 for (; j; --j)
32 if (k)
33 __builtin_printf ("%d", 9);
34 if (i)
35 __builtin_printf ("%d", j);
37 if (l)
38 continue;
39 break;
41 i = f || b;
46 int
47 main ()
49 foo ();
50 return 0;