blob: 3c67a82e70fb6e1a973304c79d069f5662601578 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -O2" } */
extern long ringo(long int);
int g,i;
void
f()
{
__transaction_relaxed {
for (i=0; i < 10; ++i)
ringo(g);
}
}
|