This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c
- From: "clintonmead at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Oct 2012 05:32:07 +0000
- Subject: [Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54982
Bug #: 54982
Summary: Uninitialised variable store_flag in
tree-ssa-loop-im.c
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: clintonmead@gmail.com
>From the 20121014 snapshot, on line 2130 of 'tree-ssa-loop-im.c', the variable
'store_flag' is possibly uninitialised and this warning is turned into an error
that prevents the building of GCC.
I don't think it is a bug in the logic as 'store_flag' as if
'multi_threaded_model_p' is true 'store_flag' is initialised and used, whereas
if 'multi_threaded_model_p' is false whilst 'store_flag' is not initialised it
is also not used.