Re: [PATCH] use get_size_range to get allocated size (PR 92942)

2020-11-06 Thread Jeff Law via Gcc-patches
On 8/28/20 11:12 AM, Martin Sebor via Gcc-patches wrote: > The gimple_call_alloc_size() function that determines the range > of sizes of allocated objects and constrains the bounds in calls > to functions like memcpy calls get_range() instead of > get_size_range() to obtain its result.  The latte

Re: [PING #2][PATCH] use get_size_range to get allocated size (PR 92942)

2020-10-27 Thread Martin Sebor via Gcc-patches
This patch was never reviewed and I forgot all about it but I wound up reimplementing the same solution in r11-3827, so I just committed the tests from this one in r11-4441. On 9/30/20 4:25 PM, Martin Sebor wrote: Ping: https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552903.html (I lost t

[PING #2][PATCH] use get_size_range to get allocated size (PR 92942)

2020-09-30 Thread Martin Sebor via Gcc-patches
Ping: https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552903.html (I lost track of this patch.) On 9/9/20 3:42 PM, Martin Sebor wrote: Ping: https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552903.html On 8/28/20 11:12 AM, Martin Sebor wrote: The gimple_call_alloc_size() function t

[PING][PATCH] use get_size_range to get allocated size (PR 92942)

2020-09-09 Thread Martin Sebor via Gcc-patches
Ping: https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552903.html On 8/28/20 11:12 AM, Martin Sebor wrote: The gimple_call_alloc_size() function that determines the range of sizes of allocated objects and constrains the bounds in calls to functions like memcpy calls get_range() instead of

[PATCH] use get_size_range to get allocated size (PR 92942)

2020-08-28 Thread Martin Sebor via Gcc-patches
The gimple_call_alloc_size() function that determines the range of sizes of allocated objects and constrains the bounds in calls to functions like memcpy calls get_range() instead of get_size_range() to obtain its result. The latter is the right function to call because it has the necessary logic