http://llvm.org/bugs/show_bug.cgi?id=18430
Bug ID: 18430
Summary: Assertion `!Packed && "cannot layout even as packed
struct"' failed.
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
The following testcase causes an assertion:`!Packed && "cannot layout even as
packed struct"' failed. No additional compilation flags are needed.
It is a regression that was introduced in r169489.
http://permalink.gmane.org/gmane.comp.compilers.clang.scm/62636
===================
struct S477X3 {};
struct S477X6 { virtual void vf1(); };
struct S477X7 : virtual S477X3 {};
struct S477X5 : S477X6 , virtual S477X7 {};
struct S477X2 : S477X5 {
char fld0;
long long fld1:48;
virtual void vf1();
};
void S477X2 ::vf1(){}
=====================
Katya.
--
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