Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/base/riscv_rvv_vector_bits-5.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv_zvl128b -mabi=lp64 -mrvv-vector-bits=zvl -O3" } */
3
4 #include "riscv_vector.h"
5
6 typedef vint32m2_t fixed_vint32m2_t __attribute__((riscv_rvv_vector_bits(128))); /* { dg-error "invalid RVV vector size '128', expected size is '256' based on LMUL of type and '-mrvv-vector-bits=zvl'" } */