1 /* { dg-options "-O3 -msve-vector-bits=512" } */ 2 3 long c; 4 int a; 5 int e[14]; 6 short b[14]; d(long * f,long h)7void d(long *f, long h) { *f ^= h + *f; } 8 void this_test_has_completed_successfully (); main()9int main() { 10 e[2] = 1; 11 for (int g = 0; g < 13; g++) 12 a = b[g] = e[g]; 13 d(&c, a); 14 for (int g = 0; g < 4; g++) 15 d(&c, b[2]); 16 if (c != 15) 17 __builtin_abort(); 18 this_test_has_completed_successfully (); 19 } 20 21 /* { dg-final { scan-assembler {this_test_has_completed_successfully} } } */ 22