Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tm/instrumented-mask.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */ | |
3 | |
4 /* If we're sure to go irrevocable, as in the case below, do not pass | |
5 PR_INSTRUMENTEDCODE to the run-time if there is nothing | |
6 instrumented within the transaction. */ | |
7 | |
8 int | |
9 main() | |
10 { | |
11 __transaction_relaxed { __asm__(""); } | |
12 return 0; | |
13 } | |
14 | |
15 /* { dg-final { scan-tree-dump-times " instrumentedCode" 0 "tmmark" } } */ |