https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103551
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Haven't looked, but things to look out for are the global ranges that the strlen pass sets that may affect VRP decisions. Also, one of the calls to ranger from within the strlen pass may have the wrong context.