https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125668
--- Comment #3 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:878b5b0030d4b42b94b7df38375d6bf5f187dc33 commit r17-1423-g878b5b0030d4b42b94b7df38375d6bf5f187dc33 Author: Richard Biener <[email protected]> Date: Mon Jun 8 14:02:38 2026 +0200 tree-optimization/125668 - missed alignment updating from forwprop With the PR125296 fix I forgot to handle the LHS propagation case. PR tree-optimization/125668 * tree-ssa-forwprop.cc (forward_propagate_addr_expr_1): Preserve alignment of the original access also for propagating into the LHS. * gcc.dg/pr125668.c: New testcase.
