blob: 72075df36c05242a743ed64975add6f650f7202f (
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 "hasNoIrrevocable" 0 "tmmark" } } */
/* { dg-final { cleanup-tree-dump "tmmark" } } */
|