Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/acle/general/pr120718.c

raw
1 /* { dg-options "-O2" } */
2
3 #include <arm_sve.h>
4 typedef int __attribute__((vector_size(8))) v2si;
5 typedef struct { int x; int y; } A;
6 void bar(A a);
7 void foo()
8 {
9 A a;
10 *(v2si *)&a = (v2si){0, (int)svcntd_pat(SV_ALL)};
11 bar(a);
12 }