summaryrefslogtreecommitdiff
path: root/gcc/gimple-ssa-strength-reduction.c
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-12 20:09:33 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-12 20:09:33 +0000
commit7620bc82f9bea7049364fd459c390c8c0369ee22 (patch)
tree0bb3e5e55fd46a2be97eff3a0c7917d317863f13 /gcc/gimple-ssa-strength-reduction.c
parent8c6dc41cf72960678235a7a321c09e6211b6d595 (diff)
downloadgcc-7620bc82f9bea7049364fd459c390c8c0369ee22.tar.gz
Revert "replace several uses of the anon namespace with GCC_FINAL"
This reverts commit daa5a8a3cf9b04cd9af5544c61e12e6dca14f870. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-ssa-strength-reduction.c')
-rw-r--r--gcc/gimple-ssa-strength-reduction.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c
index f192f545164..b369ef5ed89 100644
--- a/gcc/gimple-ssa-strength-reduction.c
+++ b/gcc/gimple-ssa-strength-reduction.c
@@ -3584,7 +3584,9 @@ analyze_candidates_and_replace (void)
}
}
-static const pass_data pass_data_strength_reduction =
+namespace {
+
+const pass_data pass_data_strength_reduction =
{
GIMPLE_PASS, /* type */
"slsr", /* name */
@@ -3597,7 +3599,7 @@ static const pass_data pass_data_strength_reduction =
0, /* todo_flags_finish */
};
-class pass_strength_reduction GCC_FINAL : public gimple_opt_pass
+class pass_strength_reduction : public gimple_opt_pass
{
public:
pass_strength_reduction (gcc::context *ctxt)
@@ -3663,6 +3665,8 @@ pass_strength_reduction::execute (function *fun)
return 0;
}
+} // anon namespace
+
gimple_opt_pass *
make_pass_strength_reduction (gcc::context *ctxt)
{