]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tm/pr46567.c
Merge from transactional-memory branch.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tm / pr46567.c
1 __attribute__((transaction_callable))
2 static void SeqfileGetLine ()
3 {
4 SSIGetFilePosition ();
5 }
6
7 __attribute__((transaction_callable))
8 static void readLoop (int addfirst)
9 {
10 if (!addfirst)
11 {
12 if (!addfirst)
13 {
14 SSIGetFilePosition ();
15 }
16 SeqfileGetLine ();
17 }
18 }