summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/atomic-noinline.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-21 09:36:11 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-21 09:36:11 +0000
commit8726b204214570b8506b06e7f1af935e21cb25c9 (patch)
tree197000f9c24e34c902c5357dd6d522f430ac0722 /gcc/testsuite/gcc.dg/atomic-noinline.c
parent0f3b427f9513aaff0bb89af90bb60fd21aa23ce8 (diff)
downloadgcc-8726b204214570b8506b06e7f1af935e21cb25c9.tar.gz
2011-11-21 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 181552 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@181554 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/atomic-noinline.c')
-rw-r--r--gcc/testsuite/gcc.dg/atomic-noinline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/atomic-noinline.c b/gcc/testsuite/gcc.dg/atomic-noinline.c
index eb0866e549e..626254d8a9a 100644
--- a/gcc/testsuite/gcc.dg/atomic-noinline.c
+++ b/gcc/testsuite/gcc.dg/atomic-noinline.c
@@ -31,7 +31,7 @@ main ()
if (ac != 1)
abort ();
- __atomic_compare_exchange_n (&as, &bs, cs, 0, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
+ __atomic_compare_exchange_n (&as, &bs, cs, 0, __ATOMIC_SEQ_CST, __ATOMIC_ACQUIRE);
if (as != 1)
abort ();