Re: [PATCH] correct uninitialized object offset and size computation [PR101494]

2021-07-28 Thread Martin Sebor via Gcc-patches
On 7/23/21 10:39 AM, Jeff Law wrote: On 7/22/2021 3:58 PM, Martin Sebor via Gcc-patches wrote: The code that computes the size of an access to an object in -Wuninitialized is limited to declared objects and so doesn't apply to allocated objects, and doesn't correctly account for an offset into

Re: [PATCH] correct uninitialized object offset and size computation [PR101494]

2021-07-23 Thread Jeff Law via Gcc-patches
On 7/22/2021 3:58 PM, Martin Sebor via Gcc-patches wrote: The code that computes the size of an access to an object in -Wuninitialized is limited to declared objects and so doesn't apply to allocated objects, and doesn't correctly account for an offset into the object and the access size.  Thi