<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - crash in clang++.exe"
   href="https://llvm.org/bugs/show_bug.cgi?id=24675">24675</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>crash in clang++.exe
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.6
          </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>C++
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>asg.msft@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14811" name="attach_14811" title="Zip file contaning cmd, cpp file, output etc.">attachment 14811</a> <a href="attachment.cgi?id=14811&action=edit" title="Zip file contaning cmd, cpp file, output etc.">[details]</a></span>
Zip file contaning cmd, cpp file, output etc.

1)    Issue description
Clang tool chain crashes
2)    Build/Version information
Android-ndk-r10e
Toolchain:
llvm-3.6\prebuilt\windows-x86_64\bin\clang++.exe
3)    Code Snippet
Attached
4)    Command Line
Attached
5)    Output
Attached.
--------------------
E:\NdkRepros\ToFileClangCrashBug>E:\llvm-3.6\prebuilt\windows-x86_64\bin\clang++.exe
  -target armv7-none-linux-androideabi      -gdwarf-2  -O0     -std=c++11   
-fms-extensions       ErrorSample.cpp  

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!

Program: E:\llvm-3.6\prebuilt\windows-x86_64\bin\clang++.exe
File: /s/ndk-toolchain/src/llvm-3.6/llvm/lib/Transforms/Utils/ValueMapper.cpp,
Line 368

Expression: Node->isResolved() && "Unexpected unresolved node"
clang++.exe: error: clang frontend command failed with exit code 3 (use -v to
see invocation)
clang version 3.6 
Target: armv7-none-linux-androideabi
Thread model: posix
clang++.exe: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://source.android.com/source/report-bugs.html">http://source.android.com/source/report-bugs.html</a> and include the crash
backtrace, preprocessed source, and associated run script.
clang++.exe: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++.exe: note: diagnostic msg: C:\Temp\ErrorSample-056c47.cpp
clang++.exe: note: diagnostic msg: C:\Temp\ErrorSample-056c47.sh
clang++.exe: note: diagnostic msg: 

********************</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>