[LLVMbugs] [Bug 22847] New: Win8.1 SDK trips the backend into panic

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 8 17:16:14 PDT 2015


http://llvm.org/bugs/show_bug.cgi?id=22847

            Bug ID: 22847
           Summary: Win8.1 SDK trips the backend into panic
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ashodnakashian at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The following sequence in winnt.h (of Win8.1 SDK) is breaking the backend.
This happens while compiling 64-bit OpenCV on VS2013 running on Win7 64-bit.
LLVM toolchain is from SVN r231084 (official build). The full error follows.

2954: VOID
2955: _ReadWriteBarrier (
2956:     VOID
2957:     );
2958: 
2959: #pragma intrinsic(_ReadWriteBarrier)

-----
  C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(2955,1) :  note:
'_ReadWriteBarrier' has been explicitly marked deprecated here
  _ReadWriteBarrier (
  ^
  Cannot invoke an intrinsinc other than donothing or patchpoint
    invoke void @llvm.eh.endcatch()
            to label %invoke.cont10 unwind label %terminate.lpad, !dbg !1840
  Cannot invoke an intrinsinc other than donothing or patchpoint
    invoke void @llvm.eh.endcatch()
            to label %invoke.cont10 unwind label %terminate.lpad, !dbg !1840
CL : fatal error : error in backend: Broken function found, compilation
aborted!
clang-cl.exe : error : clang frontend command failed with exit code 70 (use -v
to see invocation)
  clang version 3.7.0 (trunk)
  Target: x86_64-pc-windows-msvc
  Thread model: posix
  clang-cl.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
  clang-cl.exe: note: diagnostic msg: Error generating preprocessed source(s).

-- 
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/20150309/2a825c8f/attachment.html>


More information about the llvm-bugs mailing list