https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121703
--- Comment #3 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:0887961f9e0e7ea6b417bfb02787cfdaea41dbe4 commit r16-3797-g0887961f9e0e7ea6b417bfb02787cfdaea41dbe4 Author: Richard Biener <rguent...@suse.de> Date: Fri Sep 5 14:47:33 2025 +0200 tree-optimization/121703 - UBSAN error with moving from uninit data The PR reports vectorizer.h:276:3: runtime error: load of value 32695, which is not a valid value for type 'internal_fn' which I believe is from slp_node->data = new vect_load_store_data (std::move (ls)); where 'ls' can be partly uninitialized (and that data will be not used, but of course the move CTOR doesn't know this). The following tries to fix that by using value-initialization of 'ls'. PR tree-optimization/121703 * tree-vect-stmts.cc (vectorizable_store): Value-initialize ls. (vectorizable_load): Likewise.