[llvm-bugs] [Bug 38193] New: Assertion during EmitStoreofScalar

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 17 06:45:57 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38193

            Bug ID: 38193
           Summary: Assertion during EmitStoreofScalar
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: llvm-bugs at lists.llvm.org

Created attachment 20563
  --> https://bugs.llvm.org/attachment.cgi?id=20563&action=edit
Test case

Build the attached Objective C code, observe:

.../llvm/lib/IR/Instructions.cpp:1202: void llvm::StoreInst::AssertOK():
Assertion `getOperand(0)->getType() ==
cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a
pointer to Val type!"' failed.

-- 
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/20180717/aacb90ec/attachment.html>


More information about the llvm-bugs mailing list