<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 --- - Compiler ice clang-cl SVN r250039 (12 October 2015)"
   href="https://llvm.org/bugs/show_bug.cgi?id=25163">25163</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compiler ice clang-cl SVN r250039 (12 October 2015)
          </td>
        </tr>

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

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

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Windows 10, Visual Studio 2015, clang-cl SVN r250039 (12 October 2015). 64 bit
build. 

Compiler on the following program. This is a cut down test case from an attempt
to build the GoogleTest library gtest. 

#include <string>

void foo( const std::string& );

std::string SEHException( )
{
  __try
  {
  }
  __except (0)
  {
  }

  return "";
}

void StandardException()
{
    try
    {
        SEHException();
    }
    catch (const std::exception& e)
    {
        foo("");
    }
    catch (...)
    {
        foo("");
    }
}


Compiler output 

1>------ Build started: Project: gtest, Configuration: Debug x64 ------
1>  clang version 3.8.0 (trunk)
1>  Target: x86_64-pc-windows-msvc
1>  Thread model: posix
1>  InstalledDir: C:\Program Files (x86)\LLVM\msbuild-bin
1>   "C:\\Program Files (x86)\\LLVM\\msbuild-bin\\CL.exe" -cc1 -triple
x86_64-pc-windows-msvc19.0.0 -emit-obj -mrelax-all -disable-free
-main-file-name gtest.cc -mrelocation-model pic -pic-level 2 -mthread-model
posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -D_DEBUG -D_MT -D_DLL
--dependent-lib=msvcrtd --dependent-lib=oldnames -gcodeview -fcxx-exceptions
-fexceptions -fms-volatile -fdiagnostics-format msvc -momit-leaf-frame-pointer
-v -gcodeview -dwarf-column-info -debug-info-kind=line-tables-only
-coverage-file
"C:\\Users\\david\\devel\\ReflexLibs\\shared_ptr\\LLVM-vs2014\\build\\test\\gtest\\gtest.cc"
-resource-dir "C:\\Program Files
(x86)\\LLVM\\msbuild-bin\\..\\lib\\clang\\3.8.0" -I
"C:\\Users\\david\\devel\\ReflexLibs\\shared_ptr\\trunk" -I
"C:\\Users\\david\\devel\\ReflexLibs\\shared_ptr\\trunk\\test" -D WIN32 -D
_WINDOWS -D _DEBUG -D _UNICODE -D _CRT_SECURE_NO_WARNINGS -D CLANG_CL -D
GTEST_CREATE_SHARED_LIBRARY -D WIN32_LEAN_AND_MEAN -D GTEST_HAS_PTHREAD=0 -D
"CMAKE_INTDIR=\"Debug\"" -D gtest_EXPORTS -D _WINDLL -D _UNICODE -D UNICODE
-internal-isystem "C:\\Program Files
(x86)\\LLVM\\msbuild-bin\\..\\lib\\clang\\3.8.0\\include" -internal-isystem
"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\include"
-internal-isystem "C:\\Program Files (x86)\\Microsoft Visual Studio
14.0\\VC\\atlmfc\\include" -internal-isystem "C:\\Program Files (x86)\\Windows
Kits\\10\\Include\\10.0.10150.0\\ucrt" -internal-isystem "C:\\Program Files
(x86)\\Windows Kits\\8.1\\Include\\um" -internal-isystem "C:\\Program Files
(x86)\\Windows Kits\\8.1\\Include\\shared" -internal-isystem "C:\\Program Files
(x86)\\Windows Kits\\8.1\\Include\\winrt" -O0 -Wall -Wno-error
-Wno-deprecated-declarations -Wno-undefined-internal -Wno-unused-const-variable
-Wno-unused-function -Wno-unused-variable -fdeprecated-macro
-fdebug-compilation-dir
"C:\\Users\\david\\devel\\ReflexLibs\\shared_ptr\\LLVM-vs2014\\build\\test\\gtest"
-ferror-limit 19 -fmessage-length 0 -fms-extensions -fms-compatibility
-fms-compatibility-version=19.0 -std=c++14 -fdelayed-template-parsing
-fno-inline -fobjc-runtime=gcc -fdiagnostics-show-option -o
"gtest.dir\\Debug\\gtest.obj" -x c++
"C:\\Users\\david\\devel\\ReflexLibs\\shared_ptr\\trunk\\test\\gtest\\gtest.cc"
1>  clang -cc1 version 3.8.0 based upon LLVM 3.8.0-r250039 default target
i686-pc-windows-gnu
1>  #include "..." search starts here:
1>  #include <...> search starts here:
1>   C:\Users\david\devel\ReflexLibs\shared_ptr\trunk
1>   C:\Users\david\devel\ReflexLibs\shared_ptr\trunk\test
1>   C:\Program Files (x86)\LLVM\msbuild-bin\..\lib\clang\3.8.0\include
1>   C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include
1>   C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include
1>   C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt
1>   C:\Program Files (x86)\Windows Kits\8.1\Include\um
1>   C:\Program Files (x86)\Windows Kits\8.1\Include\shared
1>   C:\Program Files (x86)\Windows Kits\8.1\Include\winrt
1>  End of search list.
1>  Assertion failed: !empty(), file
D:\src\llvm_snapshot_250039\llvm\include\llvm/ADT/SmallVector.h, line 155
1>  0x0150BBD7 (0x00000016 0x0238D222 0x03C34550 0x08B2B748)
1>  0x0238E551 (0x024A1008 0x024A18F8 0x0000009B 0x03C34550)
1>  0x01150F35 (0xF122214F 0x011522DF 0x0876BA78 0x08AF3338)
1>  0x0131787B (0x0876BA78 0x08AF3338 0xFFFFFFFF 0x00000007)
1>  0x011522DF (0x03C3451C 0x0876BA78 0x00000000 0x00000000)
1>  0x01984076 (0x84463A5F 0x00000608 0x03B60000 0x00000600)
1>  0x7787F3FE (0xFFEEFFEE 0x00000002 0x07590010 0x03B600A4), RtlAllocateHeap()
+ 0x196E bytes(s)
1>  0x01004E99 (0x00000002 0x07590010 0x03B600A4 0x03B60000)
1>  0xFFEEFFEE (0x07590010 0x03B600A4 0x03B60000 0x03B60000) <unknown module>
1>clang-cl.exe : error : clang frontend command failed due to signal (use -v to
see invocation)
1>  clang version 3.8.0 (trunk)
1>  Target: x86_64-pc-windows-msvc
1>  Thread model: posix
1>  InstalledDir: C:\Program Files (x86)\LLVM\msbuild-bin</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>