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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.

[email protected]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to