aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-ssa-isolate-paths.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/gimple-ssa-isolate-paths.c
parentbd07e167b0782b004cd270ed586f245621b1dce0 (diff)
downloadgcc-17795822b27b7b5381525b1d7c98ca181be9bc80.zip
gcc-17795822b27b7b5381525b1d7c98ca181be9bc80.tar.gz
gcc-17795822b27b7b5381525b1d7c98ca181be9bc80.tar.bz2
Revert "replace several uses of the anon namespace with GCC_FINAL"
This reverts commit daa5a8a3cf9b04cd9af5544c61e12e6dca14f870. From-SVN: r226834
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 d68eaff..6f84f85 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)