]>
Commit | Line | Data |
---|---|---|
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 | ||
5 | extern void abort (void); | |
6 | int c, d; | |
7 | int 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 | } |