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: unassignedclangb...@nondot.org
          Reporter: jo...@netbsd.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to