[llvm-bugs] [Bug 31958] New: Clang-CL compiles __int2c intrinsic but fails to link

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 14 08:30:34 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=31958

            Bug ID: 31958
           Summary: Clang-CL compiles __int2c intrinsic but fails to link
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: steveire at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Similar to #31854

$ type ..\intrin.cpp

#include <intrin.h>

int main ()
{
    __int2c();

    return 0;
}

$ C:\dev\src\llvm\build\releaseprefix\msbuild-bin\CL.exe ..\intrin.cpp
intrin.cpp
intrin-58853a.obj : error LNK2019: unresolved external symbol __int2c
referenced in function main
intrin.exe : fatal error LNK1120: 1 unresolved externals
clang-cl.exe: error: linker command failed with exit code 1120 (use -v to see
invocation)

-- 
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/20170214/0834e29a/attachment.html>


More information about the llvm-bugs mailing list