2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr65321.c
blob294487cab1d75d1eb3474280f2c983685d71dc80
1 /* PR rtl-optimization/65321 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -g" } */
5 int a, b, c, d, e;
7 int
8 foo (void)
10 int h;
11 char i;
12 for (; c > 0;)
14 for (d = 0; d < 2; d++)
16 i = 1 << d;
17 if (i - a)
19 e = b = 0;
20 for (; c; c--)
21 d = 127;
24 h = ~d;
25 if (h > c)
26 for (;;)
28 return 0;
30 return 0;