https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87817
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- While the testcase doesn't FAIL with the above commit, it isn't really fixed yet, a 0 could propagate to the insn already during RTL optimizations.