https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128322
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:ada5b8f08739b26bf76558c9d5157cbbdd16c205 commit r17-5778-gada5b8f08739b26bf76558c9d5157cbbdd16c205 Author: Richard Biener <[email protected]> Date: Sat Oct 31 15:34:53 2026 +0100 tree-optimization/128322 - amend PR127377 fix The PR127377 fix fails to consider head padding when setting the new size after pruning the tail. Fix that. PR tree-optimization/128322 * tree-ssa-sccvn.cc (vn_walk_cb_data::push_partial_def): Properly consider head padding when pruning the tail for a non-constant def. * gcc.dg/torture/pr128322.c: New testcase.
