Re: PING: Fwd: [PATCH] Adjust tree-ssa-strlen.c for irange API.

2020-08-26 Thread Aldy Hernandez via Gcc-patches
PING * 2 On 8/11/20 1:55 PM, Aldy Hernandez wrote: -- Forwarded message - From: *Aldy Hernandez* mailto:al...@redhat.com>> Date: Tue, Aug 4, 2020, 13:34 Subject: [PATCH] Adjust tree-ssa-strlen.c for irange API. To: mailto:gcc-patches@gcc.gnu.org>> Cc: mailto:l..

PING: Fwd: [PATCH] Adjust tree-ssa-strlen.c for irange API.

2020-08-11 Thread Aldy Hernandez via Gcc-patches
-- Forwarded message - From: Aldy Hernandez Date: Tue, Aug 4, 2020, 13:34 Subject: [PATCH] Adjust tree-ssa-strlen.c for irange API. To: Cc: , , Aldy Hernandez This patch adapts the strlen pass to use the irange API. I wasn't able to remove the one annoying u

Re: [PATCH] Adjust tree-ssa-strlen.c for irange API.

2020-08-04 Thread Martin Sebor via Gcc-patches
On 8/4/20 3:23 PM, Aldy Hernandez wrote: On 8/4/20 9:34 PM, Martin Sebor wrote: On 8/4/20 5:33 AM, Aldy Hernandez via Gcc-patches wrote: This patch adapts the strlen pass to use the irange API. I wasn't able to remove the one annoying use of VR_ANTI_RANGE, because I'm not sure what to do.  P

Re: [PATCH] Adjust tree-ssa-strlen.c for irange API.

2020-08-04 Thread Aldy Hernandez via Gcc-patches
On 8/4/20 11:23 PM, Aldy Hernandez wrote: On 8/4/20 9:34 PM, Martin Sebor wrote: On 8/4/20 5:33 AM, Aldy Hernandez via Gcc-patches wrote: This patch adapts the strlen pass to use the irange API. I wasn't able to remove the one annoying use of VR_ANTI_RANGE, because I'm not sure what to do

Re: [PATCH] Adjust tree-ssa-strlen.c for irange API.

2020-08-04 Thread Aldy Hernandez via Gcc-patches
On 8/4/20 9:34 PM, Martin Sebor wrote: On 8/4/20 5:33 AM, Aldy Hernandez via Gcc-patches wrote: This patch adapts the strlen pass to use the irange API. I wasn't able to remove the one annoying use of VR_ANTI_RANGE, because I'm not sure what to do.  Perhaps Martin can shed some light.  The c

Re: [PATCH] Adjust tree-ssa-strlen.c for irange API.

2020-08-04 Thread Martin Sebor via Gcc-patches
On 8/4/20 5:33 AM, Aldy Hernandez via Gcc-patches wrote: This patch adapts the strlen pass to use the irange API. I wasn't able to remove the one annoying use of VR_ANTI_RANGE, because I'm not sure what to do. Perhaps Martin can shed some light. The current code has: else if (rng == VR_ANT

[PATCH] Adjust tree-ssa-strlen.c for irange API.

2020-08-04 Thread Aldy Hernandez via Gcc-patches
This patch adapts the strlen pass to use the irange API. I wasn't able to remove the one annoying use of VR_ANTI_RANGE, because I'm not sure what to do. Perhaps Martin can shed some light. The current code has: else if (rng == VR_ANTI_RANGE) { wide_int maxobjsize = wi::to_wi