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/58961] missing "<variable> may be used uninitialized in this function"


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58961

afenkart at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |afenkart at gmail dot com

--- Comment #1 from afenkart at gmail dot com ---
Created attachment 31133
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31133&action=edit
expect_a_maybe_used_uninitialized_in_this_function_Wuninitialized

compile cmd:
gcc -Wall -Wextra test.c

expect:
test.c:22:8: warning: âaâ is used uninitialized in this function
[-Wuninitialized]

output:
none

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