[LLVMbugs] [Bug 330] NEW: Linker causes erroneous asssertion

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Apr 23 12:15:36 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=330

           Summary: Linker causes erroneous asssertion
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transformation Utilities
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: criswell at uiuc.edu


When linking these two bytecode files together, llvm-link produces this
erroneous assertion:

llvm-link: /home/vadve/criswell/llvm/lib/VMCore/Constants.cpp:1212: static
llvm::Constant* llvm::ConstantExpr::getGetElementPtrTy(const llvm::Type*,
llvm::Constant*, const std::vector<llvm::Constant*,
std::allocator<llvm::Constant*> >&): Assertion
`GetElementPtrInst::getIndexedType(C->getType(),
std::vector<Value*>(IdxList.begin(), IdxList.end()), true) && "GEP indices
invalid!"' failed.

Removing the %current definition causes the files to link.

These input files are reduced from n_tty.c and tty_io.c from the Linux kernel.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list