https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127377
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:adb9e99ab70b559f512922a2492e8e55d8dcc9ce commit r16-9671-gadb9e99ab70b559f512922a2492e8e55d8dcc9ce Author: Richard Biener <[email protected]> Date: Mon Sep 14 11:08:37 2026 +0200 tree-optimization/127377 - wrong pruning of non-constant partial defs The following fixes the failure to adjust for sub-byte padding of the partial definition before the object when pruning the size to sub-byte padding after the object. PR tree-optimization/127377 * tree-ssa-sccvn.cc (vn_walk_cb_data::push_partial_def): Properly consider the padding before the object when pruning the size. * gcc.dg/torture/pr127377.c: New testcase. (cherry picked from commit 492fbdbf99dc9d8c4f13d8afe654f36d47811a2f)
