"make check-parallel" makes the following regression tests with respect to the atomics library fail: FAIL: 29_atomics/atomic_flag/test_and_set/explicit.c (test for excess errors) WARNING: 29_atomics/atomic_flag/test_and_set/explicit.c compilation failed to produce executable FAIL: 29_atomics/atomic_flag/test_and_set/implicit.c (test for excess errors) WARNING: 29_atomics/atomic_flag/test_and_set/implicit.c compilation failed to produce executable FAIL: 29_atomics/headers/stdatomic.h/functions.c (test for excess errors) FAIL: 29_atomics/headers/stdatomic.h/macros.c (test for excess errors) FAIL: 29_atomics/headers/stdatomic.h/types.c (test for excess errors) x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu/bits/c++config.h:190: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std' None of these appear for "make check". I suspect that there is a problem with all the namespaces.
These are all failures in "C" mode, and are due to running into C++ constructs like the keyword "namespace."
Subject: Bug 36130 Author: bkoz Date: Tue May 6 18:57:46 2008 New Revision: 134995 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134995 Log: 2008-05-06 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/36130 * include/bits/c++config: Namespace macros and setup only in C++. * testsuite/29_atomics/headers/stdatomic.h/debug_mode.c: New. Added: trunk/libstdc++-v3/testsuite/29_atomics/headers/stdatomic.h/debug_mode.c Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/c++config
fixed