https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93945
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:a460bf38dc3582ce1f559cc84084ca27e429b34c commit r9-8299-ga460bf38dc3582ce1f559cc84084ca27e429b34c Author: Jakub Jelinek <ja...@redhat.com> Date: Thu Feb 27 11:21:52 2020 +0100 sccvn: Punt on ref->size not multiple of 8 for memset (, 123, ) in 9.x [PR93945] And here is the corresponding 9.x change where we the patch just punts if ref->size is not whole bytes, like we already punt if offseti is not byte aligned. 2020-02-27 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/93945 * tree-ssa-sccvn.c (vn_reference_lookup_3): For memset with non-zero second operand, require ref->size to be a multiple of BITS_PER_UNIT. * gcc.c-torture/execute/pr93945.c: New test.