aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr23929.c
blob: 210bb585e0645b33fc69ec767504c28578171db2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* PR tree-optimization/23929 */

extern void bar (char *);

void
foo (int n, char *z)
{
  char b[2048];
  int x, y;

  bar (b);
  for (y = 0; y < 60; y++)
    if (n == 600)
      for (x = 0; x < 320;)
	{
	  *z++ = b[x];
	  x += 1;
	  *z++ = b[x];
	  x += 1;
	}
}