summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tm/memopt-10.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/tm/memopt-10.c')
-rw-r--r--gcc/testsuite/gcc.dg/tm/memopt-10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tm/memopt-10.c b/gcc/testsuite/gcc.dg/tm/memopt-10.c
index 0266646d0a4..5caa6b53d6b 100644
--- a/gcc/testsuite/gcc.dg/tm/memopt-10.c
+++ b/gcc/testsuite/gcc.dg/tm/memopt-10.c
@@ -10,7 +10,7 @@ int f()
p = malloc (sizeof (*p) * 100);
- __transaction {
+ __transaction_atomic {
/* p[5] is thread private, but not transaction local since the
malloc is outside of the transaction. We can use the logging
functions for this. */