Re: [PATCH] Move array_bounds warnings into it's own pass.

2024-06-10 Thread Andrew MacLeod
pushed as 74ee12ff68243bb177fb8653474dff80c3792139 fyi, the 2 testcases depending on the VRP flag were: c-c++-common/Warray-bounds-2.c   (-warray-bounds  -fno-tree-vrp :-P) and g++.dg/warn/string1.C   (-O1 -Wall) Andrew On 6/10/24 16:12, Jeff Law wrote: On 6/10/24 1:24 PM, Andrew MacLeod w

Re: [PATCH] Move array_bounds warnings into it's own pass.

2024-06-10 Thread Andrew MacLeod
On 6/10/24 16:12, Jeff Law wrote: Does anyone have any issues with any of this? No, in fact, quite the opposite.  I think we very much want the warning out of VRP into its own little pass that we can put wherever it makes sense in the pipeline rather than having it be tied to VRP. I'd p

Re: [PATCH] Move array_bounds warnings into it's own pass.

2024-06-10 Thread Jeff Law
On 6/10/24 1:24 PM, Andrew MacLeod wrote: The array bounds warning pass was originally attached to the VRP pass because it wanted to leverage the context sensitive ranges available there. With ranger, we can make it a pass of its own for very little cost. This patch does that. It removes th