[LLVMbugs] [Bug 23001] New: 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.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 23 14:21:16 PDT 2015
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: unassignedclangbugs at nondot.org
Reporter: tjkenney at us.ibm.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150323/ff3e2dec/attachment.html>
More information about the llvm-bugs
mailing list