http://llvm.org/bugs/show_bug.cgi?id=9607
Summary: libdispatch false negative -Wuninitialized
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
-Wuninitialized should warn on the following Grand Central Dispatch code.
#include <dispatch/dispatch.h>
int foo() {
__block int a;
dispatch_async(dispatch_get_global_queue(0, 0), ^{
a = 2;
});
return a;
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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