http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
Summary: 'mutex' is not a member of 'std' failures in
30_threads/call_once/constexpr.cc,
30_threads/mutex/cons/constexpr.cc,
30_threads/once_flag/cons/constexpr.cc
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: [email protected]
ReportedBy: [email protected]
On x86_64-apple-darwin10 at r166279, the additional libstdc++ testsuite
failures have appeared at -m32/-m64...
FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)
FAIL: 30_threads/mutex/cons/constexpr.cc (test for excess errors)
FAIL: 30_threads/once_flag/cons/constexpr.cc (test for excess errors)
These are all of the form...
Executing on host: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/g++
-shared-libgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include -m32
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src/.libs
-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections
-g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/include/x86_64-apple-darwin10.5.0
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/util
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc
-std=gnu++0x -S -m32 -o constexpr.s (timeout = 600)
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc:
In function 'int main()':^M
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc:27:19:
error: 'mutex' is not a member of 'std'^M
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc:27:19:
error: 'mutex' is not a member of 'std'^M
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc:27:31:
error: no matching function for call to
'__gnu_test::constexpr_default_constructible::operator()()'^M
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/util/testsuite_common_types.h:620:18:
note: candidate is: template<class _Tp> void
__gnu_test::constexpr_default_constructible::operator()()^M