[llvm-bugs] [Bug 30731] New: Assertion `CXXInfo->BaseOffsets.count(Base) && "Did not find base!"' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 18 18:22:51 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30731

            Bug ID: 30731
           Summary: Assertion `CXXInfo->BaseOffsets.count(Base) && "Did
                    not find base!"' failed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Clang asserts when invoked as below:

bin/clang -cc1 -triple i386-pc-windows-msvc19.0.0 -emit-llvm-bc -flto
-fms-extensions -fms-compatibility -w /tmp/a.ii

Note the -flto flag.


a.ii from creduce (I haven't tried reducing manually yet):

class a;
class b {
public:
  b(a *);
};
class c {};
class C {
public:
  virtual ~C();
};
class d {
public:
  d(c *);
};
class e;
class a : c {
  e *f();
  a();
  d g;
  b h;
};
class i {};
enum j k;
enum l m;
class n {
  virtual void o(j, l);
};
class e : C, virtual i, n {
public:
  void o(j, l);
};
a::a() : g(this), h(this) { f()->o(k, m); }

-- 
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/20161019/1976c5fd/attachment-0001.html>


More information about the llvm-bugs mailing list