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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So what is happening is EVRP is able to figure out _35 in the below:
  # RANGE [irange] int [-8, 0]
  _12 = (intD.6) j_16;
  # RANGE [irange] unsigned char [0, 0][248, +INF]
  b.7_32 = (unsigned char) j_16;
  # RANGE [irange] unsigned char [239, 247]
  _34 = b.7_32 + 247;
  # RANGE [irange] char [-17, -9]
  _35 = (charD.7) _34;

Is -9 rather than a range.
And then everything goes down here from there. Including loop detection ...

Reply via email to