2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr59651.c
blob7139ba9bf52c0e67c4f0dcc2e1db2684f8dfd798
1 /* PR tree-optimization/59561 */
2 /* { dg-do run } */
4 extern void abort (void);
5 int a[] = { 0, 0, 0, 0, 0, 0, 0, 6 };
7 int b;
8 int
9 main ()
11 for (;;)
13 for (b = 7; b; --b)
14 a[b] = a[7] > 1;
15 break;
17 if (a[1] != 0)
18 abort ();
19 return 0;