1 2 3 4 5 6 7 8 9 10 11 12
/* { dg-do compile } */ /* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */ int y, x, york; void foobar(void) { x = y + __transaction_atomic (york); } /* { dg-final { scan-tree-dump-times "_ITM_RU.*york" 1 "tmmark" } } */ /* { dg-final { scan-tree-dump-times "_ITM_RU" 1 "tmmark" } } */