diff options
author | Trevor Saunders <tbsaunde@tbsaunde.org> | 2015-08-12 20:09:33 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-08-12 20:09:33 +0000 |
commit | 17795822b27b7b5381525b1d7c98ca181be9bc80 (patch) | |
tree | 0bb3e5e55fd46a2be97eff3a0c7917d317863f13 /gcc/tree-ssa-dse.c | |
parent | bd07e167b0782b004cd270ed586f245621b1dce0 (diff) | |
download | gcc-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/tree-ssa-dse.c')
-rw-r--r-- | gcc/tree-ssa-dse.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index 0335645..4ad19b3 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -347,7 +347,9 @@ dse_dom_walker::before_dom_children (basic_block bb) } } -static const pass_data pass_data_dse = +namespace { + +const pass_data pass_data_dse = { GIMPLE_PASS, /* type */ "dse", /* name */ @@ -360,7 +362,7 @@ static const pass_data pass_data_dse = 0, /* todo_flags_finish */ }; -class pass_dse GCC_FINAL : public gimple_opt_pass +class pass_dse : public gimple_opt_pass { public: pass_dse (gcc::context *ctxt) @@ -407,6 +409,8 @@ pass_dse::execute (function *fun) return 0; } +} // anon namespace + gimple_opt_pass * make_pass_dse (gcc::context *ctxt) { |