1 /* This is a copy of props-4.c but with variations in the attribute
3 /* { dg-do compile } */
4 /* { dg-options "-fgnu-tm -fdump-tree-tmedge -fdump-tree-tmmark" } */
8 void __attribute((transaction_may_cancel_outer
,noinline
)) cancel1()
10 __transaction_cancel
[[,,,outer
,,]];
16 __transaction_atomic
[[__gnu__::__outer__
]] {
18 __transaction_atomic
{
25 /* { dg-final { scan-tree-dump-times " instrumentedCode" 1 "tmedge" } } */
26 /* { dg-final { scan-tree-dump-times "hasNoAbort" 0 "tmedge" } } */