]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr95854.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr95854.c
CommitLineData
35cf3c55
KZ
1/* { dg-do compile } */
2/* { dg-options "-O3 -fno-vect-cost-model -fno-tree-scev-cprop -ftracer" } */
3/* { dg-additional-options "-march=armv8.5-a+sve2" { target aarch64*-*-* } } */
4
5extern void abort (void);
6int c, d;
7int main()
8{
9 int e[] = {4, 4, 4, 4, 4, 4, 4, 4, 4};
10 d = 8;
11 for (; d; d--)
12 for (int a = 0; a <= 8; a++)
13 {
14 c = e[1];
15 e[d] = 0;
16 }
17 if (c != 0)
18 abort ();
19 return 0;
20}