https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64454
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- Thanks, it looks good and it covers the most important case. Not sure why you are testing "tree_int_cst_sgn (vr->min) >= 0" but it doesn't hurt. Typo " or signed" -> " for signed" in the first comment.