<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Assertion `CXXInfo->BaseOffsets.count(Base) && "Did not find base!"' failed"
href="https://llvm.org/bugs/show_bug.cgi?id=30731">30731</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion `CXXInfo->BaseOffsets.count(Base) && "Did not find base!"' failed
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hans@chromium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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); }</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>