1 /* PR tree-optimization/49073 */ 2 3 extern void abort (void); 4 int a[] = { 1, 2, 3, 4, 5, 6, 7 }, c; 5 6 int main()7main () 8 { 9 int d = 1, i = 1; 10 _Bool f = 0; 11 do 12 { 13 d = a[i]; 14 if (f && d == 4) 15 { 16 ++c; 17 break; 18 } 19 i++; 20 f = (d == 3); 21 } 22 while (d < 7); 23 if (c != 1) 24 abort (); 25 return 0; 26 } 27