https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86316
Bug ID: 86316 Summary: tree-vect-loop.c possible uninitialized variable Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: kargl at gcc dot gnu.org Target Milestone: --- This commit ------------------------------------------------------------------------ r262009 | rguenth | 2018-06-25 04:04:01 -0700 (Mon, 25 Jun 2018) | 55 lines 2018-06-25 Richard Biener <rguent...@suse.de> breaks bootstrap on x86_64-*-freebsd with this message ../../gcc/gcc/tree-vect-loop.c: In function '_loop_vec_info* vect_analyze_loop(loop*, loop_vec_info, vec_info_shared*)': ../../gcc/gcc/tree-vect-loop.c:1946:25: error: 'n_stmts' may be used uninitialized in this function [-Werror=maybe-uninitialized] ok = vect_analyze_slp (loop_vinfo, *n_stmts); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../../gcc/gcc/tree-vect-loop.c:2318:12: note: 'n_stmts' was declared here unsigned n_stmts;