<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 - [Win][X86][AVX512] Clang crashes in COFF emission for 512bit global variables"
   href="https://bugs.llvm.org/show_bug.cgi?id=33035">33035</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Win][X86][AVX512] Clang crashes in COFF emission for 512bit global variables
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </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>MC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>elad2.cohen@intel.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Compilation with Clang on Windows platform for source with __m512 global
variables crashes during COFF file emission with the error:

fatal error: error in backend: alignment is limited to 32-bytes

(Originates in llvm/MV/WinCOFFStreamer.cpp  function
MCWinCOFFStreamer::EmitCommonSymbol())

Reproducer:

<span class="quote">> cat tst.c</span >
#include<intrin.h>

__m512 x;

int main() {
        return 0;
}

<span class="quote">>clang -c -march=skylake-avx512 tst.c</span >
fatal error: error in backend: alignment is limited to 32-bytes</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>