https://gcc.gnu.org/g:8f1eec0857e6ffb24c2e293cb467163966b62b42
commit r17-4961-g8f1eec0857e6ffb24c2e293cb467163966b62b42 Author: Filip Kastl <[email protected]> Date: Tue Oct 6 17:57:29 2026 +0200 i386.cc: Add override keyword where it is missing Clang produces -Winconsistent-missing-override for a member function in i386.cc. This patch adds the override keyword for this function. This has no effect on functionality. Pushed as obvious. gcc/ChangeLog: * config/i386/i386.cc: Add a missing override keyword for a member functions. Signed-off-by: Filip Kastl <[email protected]> Diff: --- gcc/config/i386/i386.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc index 2aad91ecf46e..fdd7bcc020ae 100644 --- a/gcc/config/i386/i386.cc +++ b/gcc/config/i386/i386.cc @@ -26560,7 +26560,8 @@ public: stmt_vec_info stmt_info, slp_tree node, tree vectype, int misalign, vect_cost_model_location where) override; - unsigned int add_slp_cost (slp_tree, const array_slice<stmt_info_for_cost> &); + unsigned int add_slp_cost (slp_tree, + const array_slice<stmt_info_for_cost> &) override; void finish_cost (const vector_costs *) override; bool better_main_loop_than_p (const vector_costs *) const override; bool better_epilogue_loop_than_p (const vector_costs *other,
