[Bug bootstrap/86316] New: tree-vect-loop.c possible uninitialized variable
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 25 18:01:00 GMT 2018
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 <rguenther@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;
More information about the Gcc-bugs
mailing list