aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 92b95a6..3c2c20a 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -5948,7 +5948,9 @@ free_lang_data (void)
}
-static const pass_data pass_data_ipa_free_lang_data =
+namespace {
+
+const pass_data pass_data_ipa_free_lang_data =
{
SIMPLE_IPA_PASS, /* type */
"*free_lang_data", /* name */
@@ -5961,7 +5963,7 @@ static const pass_data pass_data_ipa_free_lang_data =
0, /* todo_flags_finish */
};
-class pass_ipa_free_lang_data GCC_FINAL : public simple_ipa_opt_pass
+class pass_ipa_free_lang_data : public simple_ipa_opt_pass
{
public:
pass_ipa_free_lang_data (gcc::context *ctxt)
@@ -5973,6 +5975,8 @@ public:
}; // class pass_ipa_free_lang_data
+} // anon namespace
+
simple_ipa_opt_pass *
make_pass_ipa_free_lang_data (gcc::context *ctxt)
{