pretty-print.h (pp_base): Remove.
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / props-1.c
blob8969024048633dc2f6308b21c8303eef4d684326
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -fdump-tree-tmedge -fdump-tree-tmlower" } */
4 int global;
6 foo(int local)
8 __transaction_atomic {
9 local++;
10 if (++global == 10)
11 __transaction_cancel;
15 /* { dg-final { scan-tree-dump-times " instrumentedCode" 1 "tmedge" } } */
16 /* { dg-final { scan-tree-dump-times "hasNoAbort" 0 "tmedge" } } */
17 /* { dg-final { scan-tree-dump-times "GTMA_HAVE_ABORT" 1 "tmlower" } } */
18 /* { dg-final { cleanup-tree-dump "tmedge" } } */
19 /* { dg-final { cleanup-tree-dump "tmlower" } } */