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

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 26 07:45:00 GMT 2014


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.



More information about the Gcc-bugs mailing list