https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110531
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Hao Liu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:2c12ccf800fc7890925402d30a02f0fa9e2627cc commit r14-2290-g2c12ccf800fc7890925402d30a02f0fa9e2627cc Author: Hao Liu <h...@os.amperecomputing.com> Date: Tue Jul 4 17:17:50 2023 +0800 PR tree-optimization/110531 - Vect: avoid using uninitialized variable slp_done_for_suggested_uf is used directly in vect_analyze_loop_2 without initialization, which is undefined behavior. Initialize it to false according to the discussion. gcc/ChangeLog: PR tree-optimization/110531 * tree-vect-loop.cc (vect_analyze_loop_1): initialize slp_done_for_suggested_uf to false.