[LLVMbugs] [Bug 1214] NEW: llvm-gcc4 barfs on simple packed bit-fields
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Feb 20 13:08:00 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1214
Summary: llvm-gcc4 barfs on simple packed bit-fields
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
Compiling the following code gives
llvm-convert.cpp:4299: LValue TreeToLLVM::EmitLV_COMPONENT_REF(tree_node*):
Assertion `NumAlignmentUnits && "Not adjusting pointer?"' failed.
struct X {
char A : 6;
char B : 3;
} __attribute__((packed));
int main (void)
{
struct X x;
x.A = 1;
x.B = 2;
}
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list