1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O0 -fdump-tree-optimized" } */
7 __attribute__((transaction_callable
))
11 __transaction_atomic
{
16 /* There should only be 2 instrumented writes to GEORGE: one in FOO,
17 and one in the transactional clone to FOO. There should NOT be
18 more than one instrumented write to GEORGE in the clone of
20 /* { dg-final { scan-tree-dump-times "ITM_WU\[0-9\] \\(&george," 2 "optimized" } } */