diff options
author | xuli <xuli1@eswincomputing.com> | 2023-09-12 05:45:24 +0000 |
---|---|---|
committer | xuli <xuli1@eswincomputing.com> | 2023-09-12 06:52:48 +0000 |
commit | b90a4c3dd502974f352084c23a6cdfd767e1340b (patch) | |
tree | 84d95a8bdd8d30ba6f5d43f0f68de9c100addf18 /gcc/c/c-tree.h | |
parent | 26da1970a4011893cdf3f38793dc856e2a88be25 (diff) | |
download | gcc-b90a4c3dd502974f352084c23a6cdfd767e1340b.zip gcc-b90a4c3dd502974f352084c23a6cdfd767e1340b.tar.gz gcc-b90a4c3dd502974f352084c23a6cdfd767e1340b.tar.bz2 |
RISC-V: Elimilate warning in class vcreate
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 and replace NULL_RTX with gcc_unreachable.
Diffstat (limited to 'gcc/c/c-tree.h')
0 files changed, 0 insertions, 0 deletions