1 /* PR rtl-optimization/98791 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O -ftree-vectorize" } */ 4 #include <arm_sve.h> 5 extern char a[11]; 6 extern long b[]; f()7 void f() { 8 for (int d; d < 10; d++) { 9 a[d] = svaddv(svptrue_b8(), svdup_u8(0)); 10 b[d] = 0; 11 } 12 } 13