diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-10 16:33:17 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-12 10:48:38 -0400 |
commit | af5e7f0629dc56be3cc7df75fbb407f0dfd72252 (patch) | |
tree | 78cbd1b04f5abde23c2ad269c31913a9cef9a40e /gcc/range-op-float.cc | |
parent | 8e0f292f92b5e6d7aa3b24c51b48db882d0d800b (diff) | |
download | gcc-af5e7f0629dc56be3cc7df75fbb407f0dfd72252.zip gcc-af5e7f0629dc56be3cc7df75fbb407f0dfd72252.tar.gz gcc-af5e7f0629dc56be3cc7df75fbb407f0dfd72252.tar.bz2 |
Add a hybrid BIT_IOR_EXPR operator for integer and pointer.
This adds an operator to the unified table for BIT_IOR_EXPR which will
select either the pointer or integer version based on the type passed
to the method. This is for use until we have a seperate PRANGE class.
* range-op-mixed.h (operator_bitwise_or): Remove final.
* range-op-ptr.cc (pointer_table::pointer_table): Remove BIT_IOR_EXPR.
(class hybrid_or_operator): New.
(range_op_table::initialize_pointer_ops): Add hybrid_or_operator.
* range-op.cc (unified_table::unified_table): Comment out BIT_IOR_EXPR.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions