https://bugs.llvm.org/show_bug.cgi?id=42610
Bug ID: 42610
Summary: No warning on use of uninitialized struct member
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Consider the following:
struct xy {
int x;
int y;
};
int main(void) {
struct xy a;
int x = a.x;
}
When compiled with -Wuninitialized there is no warning.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs