[LLVMbugs] [Bug 20126] New: clang assertion failure with OpenCL function: "Only storage fields have tail padding!"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 25 10:05:14 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20126
Bug ID: 20126
Summary: clang assertion failure with OpenCL function: "Only
storage fields have tail padding!"
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: tstellar at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12704
--> http://llvm.org/bugs/attachment.cgi?id=12704&action=edit
Preprocessed source
I'm getting an assertion when trying to compile an OpenCL function:
CGRecordLayoutBuilder.cpp:526: void <anonymous
namespace>::CGRecordLowering::clipTailPadding(): Assertion `Prior->Kind ==
MemberInfo::Field && !Prior->FD && "Only storage fields have tail padding!"'
It only happens when I compile using -triple r600. When I compile for x86_64
there is no assertion failure. I've attached the preprocessed .cl file and
script for reproducing. This may be related to bug 19514.
--
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/20140625/5091a3d0/attachment.html>
More information about the llvm-bugs
mailing list