http://llvm.org/bugs/show_bug.cgi?id=16054

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Richard Smith <[email protected]> ---
Fixed in r190623.

<stdin>:1:16: warning: variable 'cond' is used uninitialized whenever function
'f' is called [-Wsometimes-uninitialized]
void f() { int cond; while (cond != 0) { (void)&cond; } }
           ~~~~^~~~
<stdin>:1:29: note: uninitialized use occurs here
void f() { int cond; while (cond != 0) { (void)&cond; } }
                            ^~~~
<stdin>:1:20: note: initialize the variable 'cond' to silence this warning
void f() { int cond; while (cond != 0) { (void)&cond; } }
                   ^
                    = 0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to