[Bug tree-optimization/107561] [13 Regression] g++.dg/pr17488.C and [g++.dg/warn/Warray-bounds-16.C -m32] regression due to -Wstringop-overflow problem

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 8 13:43:17 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107561

--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> This probably boils down to the object size machinery ignoring [0, 0] (aka
> not picking a convex hull of the range).  The range implementation of all
> these
> passes should be using irange<> (but with wide_ints, not trees) instead of
> doing their own thing.

Amen. I've been saying that for years.


More information about the Gcc-bugs mailing list