On 2025-07-08 17:17, Qing Zhao wrote:
Are the above the correct and efficient updates to the .ACCESS_WITH_SIZE to resolve both PR121000 and the issue we have with counted_by for pointers?
I don't know about PR121000, but for counted_by with pointers, I think the REF_TO_OBJ (and the result_type) would also have to be a->fam and not &a->fam, i.e. don't generate an INDIRECT_REF to the .ACCESS_WITH_SIZE.
Thanks, Sid