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