aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r--gcc/tree-predcom.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index 7dd86e1..4d77401 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -2598,7 +2598,10 @@ public:
/* opt_pass methods: */
virtual bool gate (function *) { return flag_predictive_commoning != 0; }
- unsigned int execute () { return run_tree_predictive_commoning (); }
+ virtual unsigned int execute (function *)
+ {
+ return run_tree_predictive_commoning ();
+ }
}; // class pass_predcom