summaryrefslogtreecommitdiff
path: root/gcc/gimple-ssa-isolate-paths.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-ssa-isolate-paths.c')
-rw-r--r--gcc/gimple-ssa-isolate-paths.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/gimple-ssa-isolate-paths.c b/gcc/gimple-ssa-isolate-paths.c
index d68eaff5f7d..6f84f85856b 100644
--- a/gcc/gimple-ssa-isolate-paths.c
+++ b/gcc/gimple-ssa-isolate-paths.c
@@ -540,7 +540,8 @@ gimple_ssa_isolate_erroneous_paths (void)
return 0;
}
-static const pass_data pass_data_isolate_erroneous_paths =
+namespace {
+const pass_data pass_data_isolate_erroneous_paths =
{
GIMPLE_PASS, /* type */
"isolate-paths", /* name */
@@ -553,7 +554,7 @@ static const pass_data pass_data_isolate_erroneous_paths =
0, /* todo_flags_finish */
};
-class pass_isolate_erroneous_paths GCC_FINAL : public gimple_opt_pass
+class pass_isolate_erroneous_paths : public gimple_opt_pass
{
public:
pass_isolate_erroneous_paths (gcc::context *ctxt)
@@ -577,6 +578,7 @@ public:
}
}; // class pass_isolate_erroneous_paths
+}
gimple_opt_pass *
make_pass_isolate_erroneous_paths (gcc::context *ctxt)