aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr95570.c
blob: b93626140048b1a88718fe1d3ee4693a1226249b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-additional-options "-march=armv8.2-a+sve -msve-vector-bits=256 -mstrict-align -fwrapv" { target aarch64*-*-* } } */

int x[8][32];

void
foo (int start)
{
  for (int i = start; i < start + 16; i++)
    x[start][i] = i;
}