This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/60666] New: sese.c:536:11: warning: variable 'stmts' is used uninitialized whenever '||' condition is true
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Mar 2014 07:44:58 +0000
- Subject: [Bug c/60666] New: sese.c:536:11: warning: variable 'stmts' is used uninitialized whenever '||' condition is true
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60666
Bug ID: 60666
Summary: sese.c:536:11: warning: variable 'stmts' is used
uninitialized whenever '||' condition is true
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
It might be a wise idea to make sure that local variable
stmts, declared at line 489, is initialised to some
sensible default value, under all possible execution paths.
I found this possible problem by bootstrapping gcc trunk
with clang.