Debian Codegraph @

gcc/testsuite/gcc.target/riscv/pr121787-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv -mabi=lp64 -O" { target rv64 } } */
3 /* { dg-options "-march=rv32gcv -mabi=ilp32 -O" { target rv32 } } */
4
5 #include <stdint-gcc.h>
6 typedef int a;
7 int32_t b, e;
8 int32_t **c;
9 uint8_t d(int32_t *, int32_t *, uint16_t, const int32_t *, int32_t **);
10 uint32_t f() {
11 uint16_t g;
12 d(0, &b, g, &b, c);
13 e = (__attribute__((__vector_size__(sizeof(a)))) a){}[4];
14 }
15 uint8_t d(int32_t *, int32_t *, uint16_t, const int32_t *, int32_t **) {
16 asm goto("" : : : : i);
17 i:
18 j:
19 asm goto("" : : : : j);
20 }