Debian Codegraph @

gcc/testsuite/gcc.dg/tm/clone-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */
3
4 int foo;
5
6 __attribute__((transaction_callable))
7 void cloneme()
8 {
9 foo = 666;
10 }
11
12 /* { dg-final { scan-tree-dump-times "ITM_WU.*foo" 1 "tmmark" } } */