[LLVMbugs] [Bug 13149] New: crash in IRGen

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 19 08:09:46 PDT 2012


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

             Bug #: 13149
           Summary: crash in IRGen
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


clang crashes on:

struct A {
  virtual void f();
};

struct B : virtual A {
 virtual void f();
};

struct C : virtual A {
 virtual void f();
};

struct D final : virtual B, virtual A {
};

void foo(D* d) {
  static_cast<A*>(d)->f();
}

-- 
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