https://llvm.org/bugs/show_bug.cgi?id=23001
Bug ID: 23001
Summary: RecordLayoutBuilder.cpp:1854: void (anonymous
namespace)::RecordLayoutBuilder::UpdateAlignment(clang
::CharUnits, clang::CharUnits): Assertion
`llvm::isPowerOf2_32(NewAlignment.getQuantity() &&
"Alignment not a power of 2")' failed.
Product: clang
Version: 3.6
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 14089
--> https://llvm.org/bugs/attachment.cgi?id=14089&action=edit
Output, including backtrace, from Debug+Asserts build of clang 3.6.0 when
failure occurs
3.6.0 Fails to compile source code which merely defines 4 structs. The same
code compiles and executes successfully with my previous version: SVN Rev
222776
Error: RecordLayoutBuilder.cpp:1854: void (anonymous
namespace)::RecordLayoutBuilder::UpdateAlignment(clang::CharUnits,
clang::CharUnits): Assertion `llvm::isPowerOf2_32(NewAlignment.getQuantity() &&
"Alignment not a power of 2")' failed.
Backtrace, min test case, & run script are attached.
--
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