diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/tm/wrap-4.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/tm/wrap-4.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tm/wrap-4.c b/gcc/testsuite/gcc.dg/tm/wrap-4.c index 9e1e70c544f..9a4ec061f89 100644 --- a/gcc/testsuite/gcc.dg/tm/wrap-4.c +++ b/gcc/testsuite/gcc.dg/tm/wrap-4.c @@ -11,5 +11,8 @@ void foo() __transaction_relaxed { candy(); } } -/* { dg-final { scan-tree-dump-times "candy" 0 "optimized" } } */ +/* We still have one call to candy()-- on the uninstrumented path + everything is as usual. */ +/* { dg-final { scan-tree-dump-times "candy \\(\\);" 1 "optimized" } } */ + /* { dg-final { cleanup-tree-dump "optimized" } } */ |