https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110852
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But, when you are touching the PHI case, I think
/* If this PHI has itself as an argument, we cannot
determine the string length of this argument. However,
if we can find an expected constant value for the other
PHI args then we can still be sure that this is
likely a constant. So be optimistic and just
continue with the next argument. */
is a pasto from somewhere else (get_range_strlen), this function doesn't care
about string lengths...