> On Jun 24, 2025, at 03:26, Richard Biener wrote:
>
> On Mon, Jun 23, 2025 at 4:44 PM Qing Zhao wrote:
>>
>> gcc/ChangeLog:
>>
>>* tree-object-size.cc (access_with_size_object_size): Update comments
>>for pointers with .ACCESS_WITH_SIZE.
>>(collect_object_sizes_for):
On 2025-06-24 03:26, Richard Biener wrote:
+ /* Handle the following stmt #2 to propagate the size from the
+ stmt #1 to #3:
+ 1 _1 = .ACCESS_WITH_SIZE (_3, _4, 1, 0, -1, 0B);
+ 2 _5 = *_1;
+ 3 _6 = __builtin_dynamic_object_size
On Mon, Jun 23, 2025 at 4:44 PM Qing Zhao wrote:
>
> gcc/ChangeLog:
>
> * tree-object-size.cc (access_with_size_object_size): Update comments
> for pointers with .ACCESS_WITH_SIZE.
> (collect_object_sizes_for): Propagate size info through GIMPLE_ASSIGN
> for pointer
> On Jun 23, 2025, at 18:00, Siddhesh Poyarekar wrote:
>
> Thanks, there are some formatting nits below that need fixing, otherwise this
> looks good to me. I can't approve though, so please ping a maintainer for
> that.
Hi, Sid,
Thanks a lot for your review.
I will fix the format issues
On 2025-06-23 10:42, Qing Zhao wrote:
gcc/ChangeLog:
* tree-object-size.cc (access_with_size_object_size): Update comments
for pointers with .ACCESS_WITH_SIZE.
(collect_object_sizes_for): Propagate size info through GIMPLE_ASSIGN
for pointers with .ACCESS_WITH_SIZ
gcc/ChangeLog:
* tree-object-size.cc (access_with_size_object_size): Update comments
for pointers with .ACCESS_WITH_SIZE.
(collect_object_sizes_for): Propagate size info through GIMPLE_ASSIGN
for pointers with .ACCESS_WITH_SIZE.
gcc/testsuite/ChangeLog:
*