repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RISC-V: Allow RVV intrinsic when function target("arch=+v")
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
riscv
/
rvv
/
base
/
target_attribute_v_with_intrinsic-4.c
blob
0acece7640c88b10dcea253248e1193e313aa375
1
/* { dg-do compile } */
2
/* { dg-options "-march=rv64gc -mabi=lp64d -O3" } */
3
4
#include
"riscv_vector.h"
5
6
void
7
test_1
(
vint32m1_t a
)
/* { dg-error {argument type 'vint32m1_t' requires the V ISA extension} } */
8
{
9
return
;
10
}