[Bug other/49116] New: GCC fails to bootstrap with -O3 ("may be used uninitialized" errors)
d.g.gorbachev at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun May 22 22:07:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49116
Summary: GCC fails to bootstrap with -O3 ("may be used
uninitialized" errors)
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
../../gcc-4.7/gcc/ipa-inline-analysis.c: In function 'inline_read_summary':
../../gcc-4.7/gcc/ipa-inline-analysis.c:2307:5: error: 'out.clause[8]' may be
used uninitialized in this function [-Werror=maybe-uninitialized]
../../gcc-4.7/gcc/ipa-inline-analysis.c:2282:20: note: 'out.clause[8]' was
declared here
... and so on.
It helps to iniatialize struct predicate out in read_predicate().
More information about the Gcc-bugs
mailing list