http://llvm.org/bugs/show_bug.cgi?id=3516

           Summary: Assertion failed: (getOperand(0)->getType() ==
                    cast<PointerType>(getOperand(1)->getType())-
                    >getElementType() && "Ptr must be a pointer to Val
                    type!"), function AssertOK, file Instructions.cpp, line
                    895.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


I am getting this assert when compiling the attached test case

clang -emit-llvm-bc ee.c
...

Assertion failed: (getOperand(0)->getType() ==
cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a
pointer to Val type!"), function AssertOK, file Instructions.cpp, line 895.
Abort (core dumped)


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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

Reply via email to