On Mon, May 18, 2020 at 8:13 PM Aldy Hernandez via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> We already moved the value_range class into its own class in the last
> release.  I think it's time to move the value_range_equiv stuff into its
> own class, as it's a distraction from the VRP code.
>
> I've moved it to value-range-equiv.*, and gave it a semblance of order,
> by putting the constructors and setters at the beginning, the dumpers at
> the bottom, etc.
>
> No functional changes.
>
> OK for mainline?

Just a note - I dislike spreading all the VRP code across so many files.
It gets harder and harder to find pieces that once were just in the single
tree-vrp.c file ...

But I'm staying out of here as promised.

It would be much more useful if, for example, the -Warray-bound
warning were split out from the "old" VRP code and put somewhere
else (preferably not another walk over the IL but combined with a
diagnostic pass already performing a EVRP dom walk).

Likewise for the jump-threading bits.

Richard.

> Aldy

Reply via email to