blob: ee759b84ef062e915eed94bceb1d9739d84350b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */
void orig(void);
void xyz(void) __attribute__((transaction_wrap (orig)));
foo()
{
__transaction_relaxed {
orig();
}
}
/* { dg-final { scan-tree-dump-times "GTMA_MAY_ENTER_IRREVOCABLE" 1 "tmmark" } } */
/* { dg-final { cleanup-tree-dump "tmmark" } } */
|