1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
3 /* { dg-additional-options "-march=armv8.2-a+sve -msve-vector-bits=128" { target aarch64-*-* } } */
4
5 int a, b, c;
6 static int d;
7 short *q;
8 void f() {
9 int *p = &d;
10 b = 9;
11 for (b = 9; b; b--) {
12 a = 2;
13 for (c = 2; c <= 9; c++) {
14 for (int i = 0; i < 3; i++)
15 *p |= (*q)++;
16 }
17 }
18 }