[llvm-bugs] [Bug 25163] New: Compiler ice clang-cl SVN r250039 (12 October 2015)
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 13 11:47:43 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25163
Bug ID: 25163
Summary: Compiler ice clang-cl SVN r250039 (12 October 2015)
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: davidhunter22 at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151013/1269a1c5/attachment-0001.html>
More information about the llvm-bugs
mailing list