<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 --- - error in backend: Cannot select: intrinsic %llvm.eh.actions"
   href="https://llvm.org/bugs/show_bug.cgi?id=23150">23150</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>error in backend: Cannot select: intrinsic %llvm.eh.actions
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dwendt@knights.ucf.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Compiling a large project(CryptoPP) with trunk clang in an MSVS2013 produced
this: 


...warnings above...
1>CL : fatal error : error in backend: Cannot select: intrinsic
%llvm.eh.actions
1>clang-cl.exe : error : clang frontend command failed with exit code 70 (use
-v to see invocation)
1>  clang version 3.7.0 (trunk)
1>  Target: x86_64-pc-windows-msvc
1>  Thread model: posix


The same project compiles fine under visual c++. The run script is below as
there is only one attachment. The attachment is the preprocessed source.

# Crash reproducer for clang version 3.7.0 (trunk)
# Original command:  "C:\\Program Files (x86)\\LLVM\\msbuild-bin\\CL.exe"
"-cc1" "-triple" "x86_64-pc-windows-msvc" "-emit-obj" "-disable-free"
"-main-file-name" "pch.cpp" "-mrelocation-model" "pic" "-pic-level" "2"
"-mthread-model" "posix" "-relaxed-aliasing" "-fmath-errno" "-masm-verbose"
"-mconstructor-aliases" "-munwind-tables" "-target-cpu" "x86-64" "-D_MT"
"--dependent-lib=libcmt" "--dependent-lib=oldnames" "-fcxx-exceptions"
"-fexceptions" "-fms-volatile" "-fdiagnostics-format" "msvc"
"-momit-leaf-frame-pointer" "-dwarf-column-info" "-ffunction-sections"
"-coverage-file" "D:\\code\\hdistrib\\libs\\pch.cpp" "-resource-dir"
"C:\\Program Files (x86)\\LLVM\\msbuild-bin\\..\\lib\\clang\\3.7.0" "-D"
"NDEBUG" "-D" "WIN32" "-D" "_WINDOWS" "-D" "_MBCS" "-D" "_USRDLL" "-D"
"CRYPTOPP_EXPORTS" "-D" "CRYPTOPP_ENABLE_COMPLIANCE_WITH_FIPS_140_2=1" "-D"
"USE_PRECOMPILED_HEADERS" "-internal-isystem" "C:\\Program Files
(x86)\\LLVM\\msbuild-bin\\..\\lib\\clang\\3.7.0\\include" "-internal-isystem"
"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\include"
"-internal-isystem" "C:\\Program Files (x86)\\Microsoft Visual Studio
12.0\\VC\\atlmfc\\include" "-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" "-Os" "-Wall" "-Wno-error"
"-std=c++11" "-fdeprecated-macro" "-fdebug-compilation-dir"
"D:\\code\\hdistrib\\libs" "-ferror-limit" "19" "-fmessage-length" "0"
"-mstackrealign" "-fms-extensions" "-fms-compatibility"
"-fms-compatibility-version=18.0" "-fno-threadsafe-statics"
"-fdelayed-template-parsing" "-fobjc-runtime=gcc" "-fdiagnostics-show-option"
"-vectorize-loops" "-vectorize-slp" "-o" "x64\\cryptopp\\Release\\pch.obj" "-x"
"c++" "pch.cpp"
 "C:\\Program Files (x86)\\LLVM\\msbuild-bin\\CL.exe" "-cc1" "-triple"
"x86_64-pc-windows-msvc" "-emit-obj" "-disable-free" "-main-file-name"
"pch.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix"
"-relaxed-aliasing" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-target-cpu" "x86-64" "-D_MT" "--dependent-lib=libcmt"
"--dependent-lib=oldnames" "-fcxx-exceptions" "-fexceptions" "-fms-volatile"
"-fdiagnostics-format" "msvc" "-momit-leaf-frame-pointer" "-dwarf-column-info"
"-ffunction-sections" "-D" "NDEBUG" "-D" "WIN32" "-D" "_WINDOWS" "-D" "_MBCS"
"-D" "_USRDLL" "-D" "CRYPTOPP_EXPORTS" "-D"
"CRYPTOPP_ENABLE_COMPLIANCE_WITH_FIPS_140_2=1" "-D" "USE_PRECOMPILED_HEADERS"
"-Os" "-Wall" "-Wno-error" "-std=c++11" "-fdeprecated-macro" "-ferror-limit"
"19" "-fmessage-length" "0" "-mstackrealign" "-fms-extensions"
"-fms-compatibility" "-fms-compatibility-version=18.0"
"-fno-threadsafe-statics" "-fdelayed-template-parsing" "-fobjc-runtime=gcc"
"-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp" "-x" "c++"
"pch-cd5962.cpp"</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>