Commit 1c342904 by Meador Inge Committed by Meador Inge

atomic-flag.c: Add dg-require-effective-target sync_*.

gcc/testsuite/

2013-06-27  Meador Inge  <meadori@codesourcery.com>

	* gcc.dg/atomic-flag.c: Add dg-require-effective-target sync_*.
	* g++.dg/simulate-thread/atomics-2.C: Likewise.
	* g++.dg/simulate-thread/atomics-1.C: Likewise.

From-SVN: r200501
parent a34eb0bd
2013-06-27 Meador Inge <meadori@codesourcery.com>
* gcc.dg/atomic-flag.c: Add dg-require-effective-target sync_*.
* g++.dg/simulate-thread/atomics-2.C: Likewise.
* g++.dg/simulate-thread/atomics-1.C: Likewise.
2013-06-27 Marc Glisse <marc.glisse@inria.fr> 2013-06-27 Marc Glisse <marc.glisse@inria.fr>
PR c++/57509 PR c++/57509
......
/* { dg-do link } */ /* { dg-do link } */
/* { dg-options "-std=c++0x" } */ /* { dg-options "-std=c++0x" } */
/* { dg-final { simulate-thread } } */ /* { dg-final { simulate-thread } } */
/* { dg-require-effective-target sync_char_short } */
/* { dg-require-effective-target sync_int_long } */
/* Test that atomic int and atomic char work properly. */ /* Test that atomic int and atomic char work properly. */
......
/* { dg-do link } */ /* { dg-do link } */
/* { dg-options "-std=c++0x" } */ /* { dg-options "-std=c++0x" } */
/* { dg-final { simulate-thread } } */ /* { dg-final { simulate-thread } } */
/* { dg-require-effective-target sync_int_long } */
using namespace std; using namespace std;
......
/* Test __atomic routines for existence and execution. */ /* Test __atomic routines for existence and execution. */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-require-effective-target sync_char_short } */
/* Test that __atomic_test_and_set and __atomic_clear builtins execute. */ /* Test that __atomic_test_and_set and __atomic_clear builtins execute. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment