https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114988

--- Comment #1 from JuzheZhong <juzhe.zhong at rivai dot ai> ---
Ideally, it should be reported as (-march=rv64gc):

https://godbolt.org/z/3P76YEb9s


<source>: In function 'test_vfwsub_wf_f32mf2':
<source>:4:15: error: return type 'vfloat32mf2_t' requires the V ISA extension
    4 | vfloat32mf2_t test_vfwsub_wf_f32mf2(vfloat32mf2_t vs2, _Float16 rs1,
size_t vl) {
      |               ^~~~~~~~~~~~~~~~~~~~~
Compiler returned: 1

Reply via email to