Re: Make full use of context-sensitive ranges in access warnings

2021-10-25 Thread Martin Sebor via Gcc-patches
On 10/25/21 2:24 PM, Jeff Law wrote: On 10/25/2021 1:31 PM, Martin Sebor wrote: On 10/25/21 12:57 PM, Jeff Law wrote: On 10/23/2021 5:49 PM, Martin Sebor via Gcc-patches wrote: Somewhat belatedly following Aldy's lead on finishing the conversion to Ranger, the attached patch modifies gimpl

Re: Make full use of context-sensitive ranges in access warnings

2021-10-25 Thread Andrew MacLeod via Gcc-patches
On 10/25/21 4:24 PM, Jeff Law via Gcc-patches wrote: On 10/25/2021 1:31 PM, Martin Sebor wrote: On 10/25/21 12:57 PM, Jeff Law wrote: On 10/23/2021 5:49 PM, Martin Sebor via Gcc-patches wrote: Somewhat belatedly following Aldy's lead on finishing the conversion to Ranger, the attached patc

Re: Make full use of context-sensitive ranges in access warnings

2021-10-25 Thread Jeff Law via Gcc-patches
On 10/25/2021 1:31 PM, Martin Sebor wrote: On 10/25/21 12:57 PM, Jeff Law wrote: On 10/23/2021 5:49 PM, Martin Sebor via Gcc-patches wrote: Somewhat belatedly following Aldy's lead on finishing the conversion to Ranger, the attached patch modifies gimple-ssa-warn-access and other passes th

Re: Make full use of context-sensitive ranges in access warnings

2021-10-25 Thread Martin Sebor via Gcc-patches
On 10/25/21 12:57 PM, Jeff Law wrote: On 10/23/2021 5:49 PM, Martin Sebor via Gcc-patches wrote: Somewhat belatedly following Aldy's lead on finishing the conversion to Ranger, the attached patch modifies gimple-ssa-warn-access and other passes that use the pointer_query machinery to provide R

Re: Make full use of context-sensitive ranges in access warnings

2021-10-25 Thread Martin Sebor via Gcc-patches
On 10/25/21 12:57 PM, Jeff Law wrote: On 10/23/2021 5:49 PM, Martin Sebor via Gcc-patches wrote: Somewhat belatedly following Aldy's lead on finishing the conversion to Ranger, the attached patch modifies gimple-ssa-warn-access and other passes that use the pointer_query machinery to provide R

Re: Make full use of context-sensitive ranges in access warnings

2021-10-25 Thread Jeff Law via Gcc-patches
On 10/23/2021 5:49 PM, Martin Sebor via Gcc-patches wrote: Somewhat belatedly following Aldy's lead on finishing the conversion to Ranger, the attached patch modifies gimple-ssa-warn-access and other passes that use the pointer_query machinery to provide Ranger with the statement it's being ca

Make full use of context-sensitive ranges in access warnings

2021-10-23 Thread Martin Sebor via Gcc-patches
quot;); [local count: 354193066]: _85 = __i_109 + 2; _42 = operator new (_85); s1._M_dataplus._M_p = _42; s1.D.30357._M_allocated_capacity = __i_22; __builtin_memcpy (_42, "filename2", __i_22); << -Wstringop-overread Make full use of context-sensitive ranges in acc