diff options
Diffstat (limited to 'gcc/gcse.cc')
-rw-r--r-- | gcc/gcse.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/gcse.cc b/gcc/gcse.cc index b673531..f06278a 100644 --- a/gcc/gcse.cc +++ b/gcc/gcse.cc @@ -4049,8 +4049,11 @@ public: {} /* opt_pass methods: */ - virtual bool gate (function *); - virtual unsigned int execute (function *) { return execute_rtl_pre (); } + bool gate (function *) final override; + unsigned int execute (function *) final override + { + return execute_rtl_pre (); + } }; // class pass_rtl_pre @@ -4099,8 +4102,11 @@ public: {} /* opt_pass methods: */ - virtual bool gate (function *); - virtual unsigned int execute (function *) { return execute_rtl_hoist (); } + bool gate (function *) final override; + unsigned int execute (function *) final override + { + return execute_rtl_hoist (); + } }; // class pass_rtl_hoist |