<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 - [5.0.0-rc2] clang-cl assertion during incorrect command line in response file"
   href="https://bugs.llvm.org/show_bug.cgi?id=34307">34307</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[5.0.0-rc2] clang-cl assertion during incorrect command line in response file
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.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>release blocker
          </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>egor.pugin@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Create 1.rsp file with contents (2 lines):
"-Xclang"
"-nostdinc"

Run:
clang-cl @1.rsp

Assertion failed: Index >= End && "Unexpected parser error.", file
C:\src\llvm_package_500_rc2\llvm\lib\Option\OptTable.cpp, line 337
Wrote crash dump file
"C:\Users\egorp\AppData\Local\Temp\clang-cl.exe-76118e.dmp"
0x00007FF7E34F7056 (0x0000000000000001 0x0000005CF618E330 0x0000000000000151
0x00007FFDB4A3AF61)
0x00007FFDB4A927A7 (0x0000000000000001 0x00007FF700000000 0x0000000000000000
0x0000005CF618E300), raise() + 0x1E7 bytes(s)
0x00007FFDB4A934A1 (0x0002000000000003 0x0000000000000003 0x00007FFDB4AE54D0
0x00007FF7E5F7E0B8), abort() + 0x31 bytes(s)
0x00007FFDB4A95202 (0x000002268A663010 0x0000000000000007 0x00007FF7E6096AF0
0x0000000000000151), _get_wpgmptr() + 0x1CA2 bytes(s)
0x00007FFDB4A950FD (0x0000000000000151 0x00007FF7E5F7E0B8 0x0000000000000000
0x0000000000000005), _get_wpgmptr() + 0x1B9D bytes(s)
0x00007FFDB4A9543F (0x0000000000000000 0x00007FF7E5271FFC 0x0000005CF618EDC8
0x00007FF7E5271FFC), _wassert() + 0x3F bytes(s)
0x00007FF7E3358747 (0x0000000000000002 0x000002268A642E80 0x00007FFDB4AD48EC
0x0000000000000000)
0x00007FF7E1D1370E (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FF7E526E781 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00007FFDB5B72774 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
0x00007FFDB8320D51 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)</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>