gcc/testsuite/gcc.target/riscv/rvv/base/riscv_rvv_vector_bits-3.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-march=rv64gcv -mabi=lp64 -O3" } */ |
| 3 | |
| 4 | #include "riscv_vector.h" |
| 5 | |
| 6 | typedef vint32m1_t fixed_vint32m1_t __attribute__((riscv_rvv_vector_bits(128))); /* { dg-error "'riscv_rvv_vector_bits' is only supported when '-mrvv-vector-bits=zvl' is specified" } */ |