diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-10 16:28:40 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-12 10:48:31 -0400 |
commit | 8e0f292f92b5e6d7aa3b24c51b48db882d0d800b (patch) | |
tree | 575312bc63c94d8b7249ad73e4db03d526b9bb90 /gcc/range-op-float.cc | |
parent | f6e160e35ad6030542c8fffeb881666b123b11bd (diff) | |
download | gcc-8e0f292f92b5e6d7aa3b24c51b48db882d0d800b.zip gcc-8e0f292f92b5e6d7aa3b24c51b48db882d0d800b.tar.gz gcc-8e0f292f92b5e6d7aa3b24c51b48db882d0d800b.tar.bz2 |
Add a hybrid BIT_AND_EXPR operator for integer and pointer.
This adds an operator to the unified table for BIT_AND_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_and): Remove final.
* range-op-ptr.cc (pointer_table::pointer_table): Remove BIT_AND_EXPR.
(class hybrid_and_operator): New.
(range_op_table::initialize_pointer_ops): Add hybrid_and_operator.
* range-op.cc (unified_table::unified_table): Comment out BIT_AND_EXPR.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions