Debian Codegraph @

gcc/testsuite/c-c++-common/tm/wrap-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -fdump-tree-optimized" } */
3
4 void orig(void);
5 void xyzzy(void) __attribute__((transaction_wrap (orig)));
6
7 void foo() { __transaction_relaxed { orig (); } }
8
9 /* { dg-final { scan-tree-dump-times "xyzzy" 1 "optimized" } } */