https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116209
Bug ID: 116209 Summary: range_op_table/operator_table should become a final singleton class Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Noticed while looking into PR 116208. range_op_table's constructor should be come private and have a static function returns a reference to singleton version of this. Also range_op_table should become final since there are no way to more than one of them around.