Debian Codegraph @

gcc/testsuite/gcc.dg/tm/pr60908.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
3
4 int t, v;
5
6 int
7 foo (void)
8 {
9 while (1)
10 {
11 __transaction_atomic { v++; }
12 if (t)
13 return 0;
14 }
15 }