aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/unroll-1.c
blob: cc8132e207c6a1f4bde2981ebb076a1072b35b31 (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 ia32 } */
/* { 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);
}