aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr108816.c
blob: 4c24d5584c18130e8278bec0e17d3294edf7bd68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-additional-options "-fvect-cost-model=dynamic" } */

int m;

void
foo (int p[][16], unsigned int x)
{
  while (x < 4)
    {
      int j;

      for (j = x * 4; j < (x + 1) * 4 - 2; j++)
        p[0][j] = p[m][j];

      ++x;
    }
}