aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 942ea64..d88b2750 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -4209,7 +4209,7 @@ public:
/* opt_pass methods: */
virtual bool gate (function *);
- unsigned int execute () { return execute_rtl_pre (); }
+ virtual unsigned int execute (function *) { return execute_rtl_pre (); }
}; // class pass_rtl_pre
@@ -4261,7 +4261,7 @@ public:
/* opt_pass methods: */
virtual bool gate (function *);
- unsigned int execute () { return execute_rtl_hoist (); }
+ virtual unsigned int execute (function *) { return execute_rtl_hoist (); }
}; // class pass_rtl_hoist