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