https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109312
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kito Cheng <k...@gcc.gnu.org>: https://gcc.gnu.org/g:5a923516ae61ddc6dd863891db13189cbf392411 commit r13-6909-g5a923516ae61ddc6dd863891db13189cbf392411 Author: Kito Cheng <kito.ch...@sifive.com> Date: Tue Mar 28 22:21:50 2023 +0800 RISC-V: Define __riscv_v_intrinsic [PR109312] RVV intrinsic has defined a macro to identity the version of RVV intrinsic spec, we missed that before, thanksful we are catch this before release. gcc/ChangeLog: PR target/109312 * config/riscv/riscv-c.cc (riscv_ext_version_value): New. (riscv_cpu_cpp_builtins): Define __riscv_v_intrinsic and minor refactor. gcc/testsuite/ChangeLog: PR target/109312 * gcc.target/riscv/predef-__riscv_v_intrinsic.c: New test.