aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr57264.c
blob: 46fce7f04e56450d725be979ebe83d8ca4288305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-O1 -mcld" } */

void test (int x, int **pp)
{
  while (x)
    {
      int *ip = *pp;
      int *op = *pp;
      while (*ip)
	{
	  int v = *ip++;
	  *op++ = v + 1;
	}
    }
}

/* { dg-final { scan-assembler-not "stosl" } } */