PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr49073.c
blob92b923b8258981075d78680d3fc4dc5442ad00f4
1 /* PR tree-optimization/49073 */
3 extern void abort (void);
4 int a[] = { 1, 2, 3, 4, 5, 6, 7 }, c;
6 int
7 main ()
9 int d = 1, i = 1;
10 _Bool f = 0;
13 d = a[i];
14 if (f && d == 4)
16 ++c;
17 break;
19 i++;
20 f = (d == 3);
22 while (d < 7);
23 if (c != 1)
24 abort ();
25 return 0;