https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61741
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- The testcase fails without LTO as well if you use -Os -fno-strict-overflow, fixed by -fno-tree-vrp (not necessarily caused by it though). Also fails with -O2 -fno-strict-overflow. Smells similar to PR61184. The patch originally posted for that bug is thus still required.