From: xuli <xu...@eswincomputing.com> The following is the content of class vcreate: class vcreate : public function_base { public: gimple *fold (gimple_folder &f) const override { .... }
rtx expand (function_expander &e) const override { return NULL_RTX; } }; The warning caused is: ./riscv-gcc/gcc/config/riscv/riscv-vector-builtins-bases.cc:1719:34: warning: unused parameter 'e' [-Wunused-parameter] rtx expand (function_expander &e) const override ^ gcc/ChangeLog: * config/riscv/riscv-vector-builtins-bases.cc: remove unused parameter e. --- gcc/config/riscv/riscv-vector-builtins-bases.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/riscv/riscv-vector-builtins-bases.cc b/gcc/config/riscv/riscv-vector-builtins-bases.cc index be3df2c1ea2..e2de95db88a 100644 --- a/gcc/config/riscv/riscv-vector-builtins-bases.cc +++ b/gcc/config/riscv/riscv-vector-builtins-bases.cc @@ -1856,7 +1856,7 @@ public: return clobber; } - rtx expand (function_expander &e) const override + rtx expand (function_expander &) const override { return NULL_RTX; } -- 2.17.1