https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109848
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:7db541ce448c2776971be63c957dcc887bd09bf8 commit r14-817-g7db541ce448c2776971be63c957dcc887bd09bf8 Author: Richard Biener <rguent...@suse.de> Date: Mon May 15 09:10:08 2023 +0200 tree-optimization/109848 - fix TARGET_MEM_REF store from CTOR simplification I've put the preparation stmt in the wrong place. PR tree-optimization/109848 * tree-ssa-forwprop.cc (pass_forwprop::execute): Put the TARGET_MEM_REF address preparation before the store, not before the CTOR.