[LLVMbugs] [Bug 19505] New: MS ABI: vtordisp thunk emitted when none is seemingly needed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 21 20:24:38 PDT 2014


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

            Bug ID: 19505
           Summary: MS ABI: vtordisp thunk emitted when none is seemingly
                    needed
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
struct A {
  virtual void fun() {}
};
struct B : A {
  virtual void fun() {}
};
struct C : A, B {
  virtual void gun() {}
};
struct D : B, virtual C {
  D() {}
  virtual void gun() {}
};

D d;

.obj: offset 0 in vftable ??_7D@@6BB@@@ has mismatch: ?fun at B@@UAEXXZ vs
?fun at B@@$4PPPPPPPI at A@AEXXZ

-- 
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/20140422/cba693fb/attachment.html>


More information about the llvm-bugs mailing list