This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[v3] remove bogus stdatomic.h test
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 21 Jan 2009 15:01:11 -0800
- Subject: [v3] remove bogus stdatomic.h test
found while going through s390 test results
tested x86_64/linux
-benjamin
2009-01-21 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
atomic_flag_fence.
Index: testsuite/29_atomics/headers/stdatomic.h/functions.c
===================================================================
--- testsuite/29_atomics/headers/stdatomic.h/functions.c (revision 143556)
+++ testsuite/29_atomics/headers/stdatomic.h/functions.c (working copy)
@@ -1,7 +1,7 @@
// { dg-options "-x c" }
// { dg-do compile }
-// Copyright (C) 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -32,7 +32,6 @@
atomic_flag_test_and_set_explicit(p, m);
atomic_flag_clear(p);
atomic_flag_clear_explicit(p, m);
- atomic_flag_fence(p, m);
return 0;
}