[LLVMbugs] [Bug 14515] New: Clang++ does not implement _BitScanForward or _BitScanReverse intrinsics on Windows.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 5 01:39:09 PST 2012


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

             Bug #: 14515
           Summary: Clang++ does not implement _BitScanForward or
                    _BitScanReverse intrinsics on Windows.
           Product: clang
           Version: 3.1
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jujjyl at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I ran against some code that uses the _BitScanForward and _BitScanReverse
intrinsics from the VC++ compiler:

http://msdn.microsoft.com/en-us/library/wfd9z0bb(v=vs.100).aspx
http://msdn.microsoft.com/en-us/library/fbxyd7zd(v=vs.100).aspx

The code is available at
https://dl.dropbox.com/u/40949268/Bugs/clang/dlmalloc.cpp

Try building it with 'clang++ dlmalloc.cpp' It will fail on unresolved external
symbol issues. For more information, see this issue reported in another bug
tracker https://github.com/kripken/emscripten/issues/743

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list