LGTM
juzhe.zh...@rivai.ai From: pan2.li Date: 2023-06-26 17:36 To: gcc-patches CC: juzhe.zhong; rdapp.gcc; jeffreyalaw; pan2.li; yanzhang.wang; kito.cheng Subject: [PATCH v1] RISC-V: Remove duplicated extern function_base decl From: Pan Li <pan2...@intel.com> Signed-off-by: Pan Li <pan2...@intel.com> gcc/ChangeLog: * config/riscv/riscv-vector-builtins-bases.h: Remove duplicated decl. --- gcc/config/riscv/riscv-vector-builtins-bases.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gcc/config/riscv/riscv-vector-builtins-bases.h b/gcc/config/riscv/riscv-vector-builtins-bases.h index 62ff38a2811..fb95d6afdf0 100644 --- a/gcc/config/riscv/riscv-vector-builtins-bases.h +++ b/gcc/config/riscv/riscv-vector-builtins-bases.h @@ -121,8 +121,6 @@ extern const function_base *const vsmul; extern const function_base *const vssra; extern const function_base *const vssrl; extern const function_base *const vnclip; -extern const function_base *const vnclip; -extern const function_base *const vnclipu; extern const function_base *const vnclipu; extern const function_base *const vmand; extern const function_base *const vmnand; @@ -144,8 +142,6 @@ extern const function_base *const vmsof; extern const function_base *const viota; extern const function_base *const vid; extern const function_base *const vfadd; -extern const function_base *const vfadd; -extern const function_base *const vfsub; extern const function_base *const vfsub; extern const function_base *const vfrsub; extern const function_base *const vfwadd; @@ -153,7 +149,6 @@ extern const function_base *const vfwsub; extern const function_base *const vfmul; extern const function_base *const vfmul; extern const function_base *const vfdiv; -extern const function_base *const vfdiv; extern const function_base *const vfrdiv; extern const function_base *const vfwmul; extern const function_base *const vfmacc; -- 2.34.1