[LLVMbugs] [Bug 15457] New: Some atomics tests fail on 32 bit

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 6 10:23:26 PST 2013


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

            Bug ID: 15457
           Summary: Some atomics tests fail on 32 bit
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: hhinnant at apple.com
          Reporter: bruce.mitchener at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When building for 32 bit (and with -O2), some tests fail that don't fail when
building for x86_64.

This is pretty much the same scenario as
http://llvm.org/bugs/show_bug.cgi?id=15444 ... I'm on Mountain Lion and using a
current drop of libcxx.

The errors are:

Assertion failed: (obj == T(1)), function do_test, file integral.pass.cpp, line
132.
./testit: line 90: 61449 Abort trap: 6           ./$TEST_EXE
/Users/bruce/Development/libcxx/test/atomics/atomics.types.generic/integral.pass.cpp
failed at run time
Compile line was: xcrun clang++ -std=c++0x -stdlib=libc++ -arch i386 -O2
-I/Users/bruce/Development/libcxx/test/support
-I/Users/bruce/Development/libcxx/include -L/Users/bruce/Development/libcxx/lib
integral.pass.cpp
failed 1 tests in
/Users/bruce/Development/libcxx/test/atomics/atomics.types.generic
passed 4 tests in
/Users/bruce/Development/libcxx/test/atomics/atomics.types.generic


Assertion failed: (t == T(1)), function test, file atomic_fetch_sub.pass.cpp,
line 41.
./testit: line 90: 61562 Abort trap: 6           ./$TEST_EXE
/Users/bruce/Development/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp
failed at run time
Compile line was: xcrun clang++ -std=c++0x -stdlib=libc++ -arch i386 -O2
-I/Users/bruce/Development/libcxx/test/support
-I/Users/bruce/Development/libcxx/include -L/Users/bruce/Development/libcxx/lib
atomic_fetch_sub.pass.cpp


Assertion failed: (t == T(1)), function test, file
atomic_fetch_sub_explicit.pass.cpp, line 43.
./testit: line 90: 61568 Abort trap: 6           ./$TEST_EXE
/Users/bruce/Development/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp
failed at run time
Compile line was: xcrun clang++ -std=c++0x -stdlib=libc++ -arch i386 -O2
-I/Users/bruce/Development/libcxx/test/support
-I/Users/bruce/Development/libcxx/include -L/Users/bruce/Development/libcxx/lib
atomic_fetch_sub_explicit.pass.cpp

-- 
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/20130306/1880ac51/attachment.html>


More information about the llvm-bugs mailing list