<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Non-determinism exposed by microsoft-abi-virtual-inheritance.cpp test"
   href="https://bugs.llvm.org/show_bug.cgi?id=36159">36159</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Non-determinism exposed by microsoft-abi-virtual-inheritance.cpp test
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>peter@pcc.me.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ clang -cc1 -internal-isystem .../lib/clang/7.0.0/include -nostdsysteminc
.../clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp -fno-rtti
-std=c++11 -Wno-inaccessible-base -triple=i386-pc-win32 -emit-llvm -o - >
/tmp/1
$ clang -cc1 -internal-isystem .../lib/clang/7.0.0/include -nostdsysteminc
.../clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp -fno-rtti
-std=c++11 -Wno-inaccessible-base -triple=i386-pc-win32 -emit-llvm -o - | diff
-u /tmp/1 -

shows a diff most of the time, e.g.

--- /tmp/1      2018-01-30 17:18:22.750623402 -0800
+++ -   2018-01-30 17:28:37.603706299 -0800
@@ -618,10 +618,10 @@
   %vbptr16 = getelementptr inbounds i8, i8* %35, i32 0
   %36 = bitcast i8* %vbptr16 to i32**
   %vbtable17 = load i32*, i32** %36, align 4
-  %37 = getelementptr inbounds i32, i32* %vbtable17, i32 1
+  %37 = getelementptr inbounds i32, i32* %vbtable17, i32 2
   %vbase_offs18 = load i32, i32* %37, align 4
   %38 = add nsw i32 0, %vbase_offs18
-  %vtordisp.value19 = sub i32 %38, 8
+  %vtordisp.value19 = sub i32 %38, 16
   %39 = getelementptr inbounds i8, i8* %32, i32 %38
   %40 = getelementptr i8, i8* %39, i32 -4
   %vtordisp.ptr20 = bitcast i8* %40 to i32*
@@ -630,10 +630,10 @@
   %vbptr21 = getelementptr inbounds i8, i8* %41, i32 0
   %42 = bitcast i8* %vbptr21 to i32**
   %vbtable22 = load i32*, i32** %42, align 4
-  %43 = getelementptr inbounds i32, i32* %vbtable22, i32 2
+  %43 = getelementptr inbounds i32, i32* %vbtable22, i32 1
   %vbase_offs23 = load i32, i32* %43, align 4
   %44 = add nsw i32 0, %vbase_offs23
-  %vtordisp.value24 = sub i32 %44, 16
+  %vtordisp.value24 = sub i32 %44, 8
   %45 = getelementptr inbounds i8, i8* %32, i32 %44
   %46 = getelementptr i8, i8* %45, i32 -4
   %vtordisp.ptr25 = bitcast i8* %46 to i32*</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>