<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 - Duplicate label causes assembler crash"
   href="https://bugs.llvm.org/show_bug.cgi?id=38448">38448</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Duplicate label causes assembler crash
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.0
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fabio@xn--3px.jp
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20642" name="attach_20642" title="Package with all bug artifacts">attachment 20642</a> <a href="attachment.cgi?id=20642&action=edit" title="Package with all bug artifacts">[details]</a></span>
Package with all bug artifacts

With clang 6.0.1:

C:\Users\fabio\clang-bug>"C:\Program Files\LLVM\bin\clang.exe" crash.s
crash.s:2:1: error: invalid symbol redefinition
.a:
^
Wrote crash dump file "C:\Users\fabio\AppData\Local\Temp\clang.exe-5b38c7.dmp"
0x00007FF68DA0F549 (0x000000003B001E25 0x00007FF68FC1FD58 0x0000000002000002
0x0000000000000001)
0x00007FF68DA0C34B (0x00000213D7C4FD60 0x00007FF68D40AD18 0x00000032F5D8CDD0
0x00007FF9BC72E60B)
0x00007FF68DA0250F (0x00007FF600000000 0x00007FF68D3D5105 0x00000032F5D8CDD0
0x0000003200000000)
0x00007FF68D9F845E (0x0000000000000010 0x00007FF60000000E 0x00000213D7C44C90
0x00007FF600000080)
0x00007FF68DA2C065 (0x0000000000000000 0x00007FF600000000 0x0000000000000002
0x00000032F5D8D3D0)
0x00007FF68C95C33A (0x0000000000000015 0x00007FF9BF3F70A0 0x00000000000006B0
0x00000000000000B8)
0x00007FF68C954766 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF68F589778 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF9BEE43034 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
0x00007FF9BF421431 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
clang.exe: error: clang integrated assembler command failed due to signal (use
-v to see invocation)
clang version 6.0.1 (tags/RELEASE_601/final)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
clang.exe: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang.exe: note: diagnostic msg: Error generating preprocessed source(s) - no
preprocessable inputs.

This bug does *not* happen on clang for Linux 6.0.0; this seems to be a Windows
specific issue.

I minimized the crash.s file as much as possible; removing any of the 127 nops
there gets rid of the bug (and the bug is still visible if you add more nops,
or more unrelated instructions, between the labels and the jmp).</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>