This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]