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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |WONTFIX

--- Comment #1 from Jeffrey A. Law <law at redhat dot com> ---
You have to enable the optimizer to get uninitialized variable warnings.

Compiling your testcase with -O2 -Wuninitialized:


j.c: In function 'main':
j.c:5:12: warning: 'i' is used uninitialized in this function [-Wuninitialized]
     while(i++<10)
            ^

Reply via email to