Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/pr111391-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv -mabi=lp64d -Wno-int-conversion -Wno-implicit-function -Wno-incompatible-pointer-types -Wno-implicit-function-declaration -Ofast -ftree-vectorize" } */
3
4 typedef struct
5 {
6 int b;
7 } c;
8 int d (c *);
9 int
10 e (char *f, long g)
11 {
12 f += g;
13 while (g--)
14 *--f = d;
15 }
16
17 int
18 d (c * f)
19 {
20 while (h ())
21 switch (f->b)
22 case 'Q':
23 {
24 long a;
25 e (&a, sizeof (a));
26 i (a);
27 }
28 }