aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2024-05-14 16:21:50 +0200
committerAldy Hernandez <aldyh@redhat.com>2024-05-15 12:32:55 +0200
commitc400b2100719d0a9e5989c63e0827b9e98919df3 (patch)
tree58fdda84f00230623a9871756601fd0d9690c4a4 /gcc
parentd08247b77831c496277b266807d4bd17656d1654 (diff)
downloadgcc-c400b2100719d0a9e5989c63e0827b9e98919df3.zip
gcc-c400b2100719d0a9e5989c63e0827b9e98919df3.tar.gz
gcc-c400b2100719d0a9e5989c63e0827b9e98919df3.tar.bz2
[prange] Default pointers_handled_p() to false.
The pointers_handled_p() method is an internal range-op helper to help catch dispatch type mismatches for pointer operands. This is what caught the IPA mismatch in PR114985. This method is only a temporary measure to catch any incompatibilities in the current pointer range-op entries. This patch returns true for any *new* entries in the range-op table, as the current ones are already fleshed out. This keeps us from having to implement this boilerplate function for any new range-op entries. PR tree-optimization/114995 * range-op-ptr.cc (range_operator::pointers_handled_p): Default to true.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/range-op-ptr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/range-op-ptr.cc b/gcc/range-op-ptr.cc
index 65cca65..2f47f33 100644
--- a/gcc/range-op-ptr.cc
+++ b/gcc/range-op-ptr.cc
@@ -58,7 +58,7 @@ bool
range_operator::pointers_handled_p (range_op_dispatch_type ATTRIBUTE_UNUSED,
unsigned dispatch ATTRIBUTE_UNUSED) const
{
- return false;
+ return true;
}
bool