summaryrefslogtreecommitdiff
path: root/gcc/compare-elim.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/compare-elim.c')
-rw-r--r--gcc/compare-elim.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/compare-elim.c b/gcc/compare-elim.c
index ea94c4e2036..b65d09e7938 100644
--- a/gcc/compare-elim.c
+++ b/gcc/compare-elim.c
@@ -668,7 +668,9 @@ execute_compare_elim_after_reload (void)
return 0;
}
-static const pass_data pass_data_compare_elim_after_reload =
+namespace {
+
+const pass_data pass_data_compare_elim_after_reload =
{
RTL_PASS, /* type */
"cmpelim", /* name */
@@ -681,7 +683,7 @@ static const pass_data pass_data_compare_elim_after_reload =
( TODO_df_finish | TODO_df_verify ), /* todo_flags_finish */
};
-class pass_compare_elim_after_reload GCC_FINAL : public rtl_opt_pass
+class pass_compare_elim_after_reload : public rtl_opt_pass
{
public:
pass_compare_elim_after_reload (gcc::context *ctxt)
@@ -704,6 +706,8 @@ public:
}; // class pass_compare_elim_after_reload
+} // anon namespace
+
rtl_opt_pass *
make_pass_compare_elim_after_reload (gcc::context *ctxt)
{