dcfec15fd8f3a11adbddca79a390ae963345041c
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O -fdump-tree-tmmemopt" } */
5 extern george() __attribute__((transaction_callable
));
6 extern ringo(long int);
11 __transaction_relaxed
{
18 for (i
=0; i
< 10; ++i
)
25 /* { dg-final { scan-tree-dump-times "transforming: .*_ITM_RaWU[248] \\(&g\\);" 1 "tmmemopt" } } */
26 /* { dg-final { scan-tree-dump-times "transforming: .*_ITM_WaRU4 \\(&i," 1 "tmmemopt" } } */
27 /* { dg-final { scan-tree-dump-times "transforming: .*_ITM_RaWU4 \\(&i\\);" 1 "tmmemopt" } } */
28 /* { dg-final { scan-tree-dump-times "transforming: .*_ITM_WaWU4 \\(&i," 1 "tmmemopt" } } */
29 /* { dg-final { cleanup-tree-dump "tmmemopt" } } */