summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tm/memopt-5.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/tm/memopt-5.c')
-rw-r--r--gcc/testsuite/gcc.dg/tm/memopt-5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tm/memopt-5.c b/gcc/testsuite/gcc.dg/tm/memopt-5.c
index a766af63246..53f7f12083c 100644
--- a/gcc/testsuite/gcc.dg/tm/memopt-5.c
+++ b/gcc/testsuite/gcc.dg/tm/memopt-5.c
@@ -11,7 +11,7 @@ int f()
{
int i = readint();
struct large lala = bark();
- __transaction {
+ __transaction_atomic {
lala.x[55] = 666;
if (test())
__transaction_cancel;