summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/unroll-1.c
blob: 8cf19c4beaf0021a6b64608472ea873d2a871281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR optimization/8599 */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mtune=k6 -O2 -funroll-loops" } */

extern void exit (int);

void *array[4];

int main ()
{
  int i;
 
  for (i = 0; i < 4; i++)
    array[i] = 0;

  exit (0);
}