summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/sve_vec_init_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/aarch64/sve_vec_init_2.c')
-rw-r--r--gcc/testsuite/gcc.target/aarch64/sve_vec_init_2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/sve_vec_init_2.c b/gcc/testsuite/gcc.target/aarch64/sve_vec_init_2.c
index 3d5b584e9e5..95b278e58f5 100644
--- a/gcc/testsuite/gcc.target/aarch64/sve_vec_init_2.c
+++ b/gcc/testsuite/gcc.target/aarch64/sve_vec_init_2.c
@@ -1,10 +1,10 @@
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize -march=armv8-a+sve -msve-vector-bits=256" } */
-typedef unsigned int v8si __attribute__ ((vector_size(32)));
+typedef unsigned int vnx4si __attribute__ ((vector_size(32)));
void
-f (v8si *ptr, int x)
+f (vnx4si *ptr, int x)
{
- *ptr += (v8si) { x, x, 1, 2, 3, x, x, 4 };
+ *ptr += (vnx4si) { x, x, 1, 2, 3, x, x, 4 };
}