This is a set of 5 small cleanups for the ranger op table. I noticed it after was pointed out an uninitialized warning sometimes happens for it. We should use final classes a lot more, even if it just used for documentation that you can't use it as a base class. Also local instances should really be in an anonymous namespaces but they were missing.
Note there is some unused classes/instances I noticed after putting them in an anonymous namespace so I `#if 0`ed then. Should we just remove them instead? They were the pointer related ops which was just added too. Andrew Pinski (5): range: Make range_op_table class final range: Make range_op_table a true singleton class [PR116209] ranger: constify range_op_table class ranger: Make some classes local to the TU ranger: Fix LTO uninitialized variable warning about m_range_tree gcc/range-op-float.cc | 27 +++++++++++++++++++-------- gcc/range-op-ptr.cc | 20 +++++++++++++++----- gcc/range-op.cc | 19 ++++++++++++++----- gcc/range-op.h | 16 +++++++++++----- 4 files changed, 59 insertions(+), 23 deletions(-) -- 2.43.0