[LLVMbugs] [Bug 21499] New: __sync_bool_compare_and_swap

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 6 04:20:29 PST 2014


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

            Bug ID: 21499
           Summary: __sync_bool_compare_and_swap
           Product: clang
           Version: 3.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: keith at bostic.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In clang 3.5, we're seeing __sync_bool_compare_and_swap not working as
documented. If we switch from __sync_bool_compare_and_swap to
__sync_val_compare_and_swap, our tests start passing again.

We don't see the same failure with clang 3.6.

The test is relatively complex (MongoDB test suite running on top of the
WiredTiger storage engine), so it's tough to create a standalone test.

If this is interesting, we'd be happy to run any tests or diagnostics that
would be helpful, the failure reproduces reliably.

keith at bostic.com

-- 
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/20141106/7e3fc636/attachment.html>


More information about the llvm-bugs mailing list