<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 - mingw-w64 GCC 8.1.0 after D43029: unexpected GlobalValue size growth"
   href="https://bugs.llvm.org/show_bug.cgi?id=38168">38168</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>mingw-w64 GCC 8.1.0 after D43029: unexpected GlobalValue size growth
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mati865@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After upgrading mingw-builds[0] GCC from 6.3.0  to 8.1.0 with latest trunk I'm
seeing error:


C:/projects/rust/src/llvm/lib/IR/Globals.cpp:37:35: error: static assertion
failed: unexpected GlobalValue size growth
static_assert(sizeof(GlobalValue) ==
               ~~~~~~~~~~~~~~~~~~~~^~
                   sizeof(Constant) + 2 * sizeof(void *) + 2 *
sizeof(unsigned),
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


I have bisected this error to D43029 [1]

[0]
<a href="https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/">https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/</a>
[1] <a href="https://reviews.llvm.org/D43029">https://reviews.llvm.org/D43029</a></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>