aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssanames.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssanames.c')
-rw-r--r--gcc/tree-ssanames.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c
index a3c64ab..910cb19 100644
--- a/gcc/tree-ssanames.c
+++ b/gcc/tree-ssanames.c
@@ -576,7 +576,9 @@ replace_ssa_name_symbol (tree ssa_name, tree sym)
version namespace. This is used to keep footprint of compiler during
interprocedural optimization. */
-static const pass_data pass_data_release_ssa_names =
+namespace {
+
+const pass_data pass_data_release_ssa_names =
{
GIMPLE_PASS, /* type */
"release_ssa", /* name */
@@ -589,7 +591,7 @@ static const pass_data pass_data_release_ssa_names =
0, /* todo_flags_finish */
};
-class pass_release_ssa_names GCC_FINAL : public gimple_opt_pass
+class pass_release_ssa_names : public gimple_opt_pass
{
public:
pass_release_ssa_names (gcc::context *ctxt)
@@ -635,6 +637,8 @@ pass_release_ssa_names::execute (function *fun)
return 0;
}
+} // anon namespace
+
gimple_opt_pass *
make_pass_release_ssa_names (gcc::context *ctxt)
{