This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/60666] New: sese.c:536:11: warning: variable 'stmts' is used uninitialized whenever '||' condition is true


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]