https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121350
--- Comment #8 from GCC 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:39d429631ff7060238dc046db4340a304560227f commit r16-2710-g39d429631ff7060238dc046db4340a304560227f Author: Richard Biener <rguent...@suse.de> Date: Fri Aug 1 13:27:00 2025 +0200 Properly record SLP node when costing a vectorized store Even when we emit scalar stores we should pass down the SLP node. PR tree-optimization/121350 * tree-vect-stmts.cc (vectorizable_store): Pass down SLP node when costing scalar stores in vect_body.