libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr104112-1.c
blob84e69b85170eacc1d28a5d2df69c5ceff45172e1
1 /* { dg-do compile } */
2 /* { dg-additional-options "-Ofast" } */
3 /* { dg-additional-options "-march=armv8.2-a+sve -msve-vector-bits=512" { target aarch64-*-* } } */
5 void
6 boom(int n, double *a, double *x)
8 int i, j;
9 double temp;
11 for (j = n; j >= 1; --j)
13 temp = x[j];
14 for (i = j - 1; i >= 1; --i)
15 temp += a[i + j] * x[i];
16 x[j] = temp;