Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/tm/instrumented-mask.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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" } } */ |