[LLVMbugs] [Bug 3516] New: 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.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 9 06:32:12 PST 2009


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: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list