]> git.ipfire.org Git - thirdparty/gcc.git/commit
Implement pointer_or_operator.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 23 Oct 2024 14:59:13 +0000 (10:59 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Thu, 24 Oct 2024 12:49:29 +0000 (08:49 -0400)
commitf24e10876689dcd92b05756bd3ec833ddf1e6b7e
tree41cb2bde67b2a5db158af27f34476b9c8d1edc6b
parentf9d94c1d5cf051350a39a9816f35cf94d351f6da
Implement pointer_or_operator.

The class pointer_or is no longer used, and can be removed.  Its
functionality was never moved to the new dispatch system.
This implements operator_bitwise_or::fold_range() for prange operands.

* range-op-mixed.h (operator_bitwise_or::fold_range): Add prange
variant.
* range-op-ptr.cc (class pointer_or_operator): Remove.
(pointer_or_operator::op1_range): Remove.
(pointer_or_operator::op2_range): Remove.
(pointer_or_operator::wi_fold): Remove.
(operator_bitwise_or::fold_range): New prange variant.
gcc/range-op-mixed.h
gcc/range-op-ptr.cc