[LLVMbugs] [Bug 20897] New: Assertion failed: "Invalid GetElementPtrInst indices for type"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 10 10:07:39 PDT 2014


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

            Bug ID: 20897
           Summary: Assertion failed: "Invalid GetElementPtrInst indices
                    for type"
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mrmocool at gmx.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

class Base
{
};

class BB : virtual Base
{
};

class __declspec(dllexport) AA : BB
{
    int a;
    int b;
};

$ clang++.exe -c test.cpp
Assertion failed: Ty && "Invalid GetElementPtrInst indices for type!", file
llvm/IR/Instructions.h, line 782
clang++.exe: error: clang frontend command failed with exit code 3 (use -v to
see invocation)
clang version 3.6.0 (217361)
Target: x86_64-pc-windows-msvc
Thread model: posix

-- 
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/20140910/ac8035ac/attachment.html>


More information about the llvm-bugs mailing list