Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tm/instrumented-mask.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +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" } } */ |