summaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde@tbsaunde.org>2015-08-12 20:09:33 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-08-12 20:09:33 +0000
commit17795822b27b7b5381525b1d7c98ca181be9bc80 (patch)
tree0bb3e5e55fd46a2be97eff3a0c7917d317863f13 /gcc/reorg.c
parentbd07e167b0782b004cd270ed586f245621b1dce0 (diff)
Revert "replace several uses of the anon namespace with GCC_FINAL"
This reverts commit daa5a8a3cf9b04cd9af5544c61e12e6dca14f870. From-SVN: r226834
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 8b9c9d7d5ca..1c60e13167e 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -3940,7 +3940,9 @@ rest_of_handle_delay_slots (void)
return 0;
}
-static const pass_data pass_data_delay_slots =
+namespace {
+
+const pass_data pass_data_delay_slots =
{
RTL_PASS, /* type */
"dbr", /* name */
@@ -3953,7 +3955,7 @@ static const pass_data pass_data_delay_slots =
0, /* todo_flags_finish */
};
-class pass_delay_slots GCC_FINAL : public rtl_opt_pass
+class pass_delay_slots : public rtl_opt_pass
{
public:
pass_delay_slots (gcc::context *ctxt)
@@ -3980,6 +3982,8 @@ pass_delay_slots::gate (function *)
#endif
}
+} // anon namespace
+
rtl_opt_pass *
make_pass_delay_slots (gcc::context *ctxt)
{
@@ -3988,7 +3992,9 @@ make_pass_delay_slots (gcc::context *ctxt)
/* Machine dependent reorg pass. */
-static const pass_data pass_data_machine_reorg =
+namespace {
+
+const pass_data pass_data_machine_reorg =
{
RTL_PASS, /* type */
"mach", /* name */
@@ -4001,7 +4007,7 @@ static const pass_data pass_data_machine_reorg =
0, /* todo_flags_finish */
};
-class pass_machine_reorg GCC_FINAL : public rtl_opt_pass
+class pass_machine_reorg : public rtl_opt_pass
{
public:
pass_machine_reorg (gcc::context *ctxt)
@@ -4022,6 +4028,8 @@ public:
}; // class pass_machine_reorg
+} // anon namespace
+
rtl_opt_pass *
make_pass_machine_reorg (gcc::context *ctxt)
{