http://llvm.org/bugs/show_bug.cgi?id=3716
Summary: Implement warning on poorly packed structures
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
It would be nice if clang had a warning for structures which could be packed
better to save space.
For example:
--
struct s0 {
int32 a;
int16 b;
int32 c;
int16 d;
};
--
could be repacked to take 12 bytes instead of 16.
--
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