aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r--gcc/omp-low.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 0e96b88..0a46fb7 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -8356,7 +8356,7 @@ public:
|| flag_cilkplus != 0) && !seen_error ());
}
- unsigned int execute () { return execute_expand_omp (); }
+ virtual unsigned int execute (function *) { return execute_expand_omp (); }
}; // class pass_expand_omp
@@ -10215,7 +10215,7 @@ public:
{}
/* opt_pass methods: */
- unsigned int execute () { return execute_lower_omp (); }
+ virtual unsigned int execute (function *) { return execute_lower_omp (); }
}; // class pass_lower_omp
@@ -10640,9 +10640,10 @@ public:
/* opt_pass methods: */
virtual bool gate (function *) { return flag_openmp || flag_cilkplus; }
- unsigned int execute () {
- return diagnose_omp_structured_block_errors ();
- }
+ virtual unsigned int execute (function *)
+ {
+ return diagnose_omp_structured_block_errors ();
+ }
}; // class pass_diagnose_omp_blocks
@@ -11804,7 +11805,7 @@ public:
/* opt_pass methods: */
virtual bool gate (function *);
- unsigned int execute () { return ipa_omp_simd_clone (); }
+ virtual unsigned int execute (function *) { return ipa_omp_simd_clone (); }
};
bool