blob: 0734436809fd80d201ebc9f8dfe1f90584befa3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -fdump-tree-optimized" } */
void free (void *);
void wrapper (void *) __attribute__((transaction_wrap (free)));
void *p;
void foo()
{
__transaction_relaxed { free (p); }
}
/* { dg-final { scan-tree-dump-times "free" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
|