https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125296
--- Comment #4 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:17ce6875a08253fb02580bd365a4528e9225efb9 commit r17-525-g17ce6875a08253fb02580bd365a4528e9225efb9 Author: Richard Biener <[email protected]> Date: Wed May 13 14:59:31 2026 +0200 tree-optimization/125296 - preserve alignment of access with address forwarding The following makes sure to preserve the alignment of the access and not pick up that of parts of the address we forward. PR tree-optimization/125296 * tree-ssa-forwprop.cc (forward_propagate_addr_expr_1): Preserve alignment of the original access. * gcc.dg/pr125206.c: New testcase.
