* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / c-c++-common / tm / trxn-expr-3.c
blob27ff633face07a3cf033635f2aff66652bea6cee
1 // { dg-do compile }
2 // { dg-options "-fgnu-tm -O -fdump-tree-tmmark" }
4 int global;
6 int f2()
8 return __transaction_atomic (global + 3)
9 + __transaction_atomic (global + 4);
12 /* { dg-final { scan-tree-dump-times "ITM_RU" 2 "tmmark" } } */
13 /* { dg-final { scan-tree-dump-times "ITM_commitTransaction" 4 "tmmark" } } */