aboutsummaryrefslogtreecommitdiff
path: root/libgm2
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2024-02-10 18:59:55 +0800
committerPan Li <pan2.li@intel.com>2024-02-12 20:22:18 +0800
commit016fbd2d89972e0c44d9cd8375d2332108e447c4 (patch)
treee2dda69a0bea3a40fd757922e16fd80a2ded8fba /libgm2
parent525cfe1e9554858366e7811aa9e437357c0f272e (diff)
RISC-V: Fix misspelled term args in error_at message
When build with "-Werror=format-diag", there will be one misspelled term args as below. This patch would like fix it by taking the term arguments instead. ../../gcc/config/riscv/riscv-vector-builtins.cc: In function 'tree_node* riscv_vector::resolve_overloaded_builtin(location_t, unsigned int, tree, vec<tree_node*, va_gc>*)': ../../gcc/config/riscv/riscv-vector-builtins.cc:4633:65: error: misspelled term 'args' in format; use 'arguments' instead [-Werror=format-diag] 4633 | error_at (loc, "no matching function call to %qE with empty args", fndecl); gcc/ChangeLog: * config/riscv/riscv-vector-builtins.cc (resolve_overloaded_builtin): Replace args to arguments for misspelled term. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/base/pr113766-1.c: Adjust the test cases. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'libgm2')
0 files changed, 0 insertions, 0 deletions