https://gcc.gnu.org/g:9c36ceaacc080a70f3f664a2eb5f9b32227f5cf5

commit r17-2138-g9c36ceaacc080a70f3f664a2eb5f9b32227f5cf5
Author: Filip Kastl <[email protected]>
Date:   Sat Jul 4 08:01:03 2026 +0200

    i386.cc: Add a missing override specifier
    
    When compiling i386.cc, Clang complains that
    better_epilogue_loop_than_p is not marked override.  Add the specifier.
    
    Bootstrapped on x86_64 linux.  Committed as obvious.
    
    gcc/ChangeLog:
    
            * config/i386/i386.cc: Add override specifier for
            better_epilogue_loop_than_p.
    
    Signed-off-by: Filip Kastl <[email protected]>

Diff:
---
 gcc/config/i386/i386.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc
index e66958db7acb..c7ac2cc811b4 100644
--- a/gcc/config/i386/i386.cc
+++ b/gcc/config/i386/i386.cc
@@ -26168,7 +26168,7 @@ public:
   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,
-                                   loop_vec_info main_loop) const;
+                                   loop_vec_info main_loop) const override;
 
 private:

Reply via email to