diff --git a/gcc/testsuite/gcc.dg/tm/memopt-1.c
b/gcc/testsuite/gcc.dg/tm/memopt-1.c
index 06d4f64..9a48dcb 100644
--- a/gcc/testsuite/gcc.dg/tm/memopt-1.c
+++ b/gcc/testsuite/gcc.dg/tm/memopt-1.c
@@ -2,8 +2,8 @@
/* { dg-options "-fgnu-tm -O -fdump-tree-tmmemopt" } */
long g, xxx, yyy;
-extern george() __attribute__((transaction_callable));
-extern ringo(long int);
+extern george() __attribute__((transaction_safe));
+extern ringo(long int) __attribute__((transaction_safe));
int i;
The patch looks fine, but...
Was the original test wrong, or are you testing something new?
If the original test was wrong, this patch is OK.
If the original test was not wrong, you need to add a new test (and
bonus points for finding out why this test is currently failing :)).
Thanks.
Aldy