-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadUse [accepts-invalid] and [rejects-valid] instead
Description
| Bugzilla Link | 1214 |
| Resolution | FIXED |
| Resolved on | Feb 22, 2010 12:43 |
| Version | unspecified |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
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;
}
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadUse [accepts-invalid] and [rejects-valid] instead