aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr20216.c
blob: 8baba44a0302e6e2bbe1a8306fc1ab9bc059d39c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* APPLE LOCAL file why is this local? */
/* { dg-do compile } */
/* { dg-options "-O1" } */

static unsigned int *buffer;

void FUNC (void)
{
 unsigned int *base;
 int i, j;

 for (i = 0; i < 4; i++)
  for (j = 0; j < 1600000; j++)
   *base++ = buffer[j];
}