]> git.ipfire.org Git - thirdparty/gcc.git/commit
Unify operator_cast range operator
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 9 Jun 2023 17:39:54 +0000 (13:39 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Sat, 10 Jun 2023 00:33:02 +0000 (20:33 -0400)
commit6a4ac393e199a63f39063daa28827f39dab49a07
tree348d23d2d2e7d4b28a760643510f504b0bb480c6
parent4f0ac5a526180fb2b64ed7ea41acdaab8b91a8bb
Unify operator_cast range operator

Move the declaration of the class to the range-op-mixed header, and use it
in the new unified table.

* range-op-mixed.h (class operator_cast): Combined from integer
and float files.
* range-op.cc (op_cast): New object.
(unified_table::unified_table): Add op_cast
(class operator_cast): Move to range-op-mixed.h.
(integral_table::integral_table): Remove op_cast
(pointer_table::pointer_table): Remove op_cast.
gcc/range-op-mixed.h
gcc/range-op.cc