Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tm/20100603.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-fgnu-tm -O -fdump-tree-optimized" } */ | |
3 | |
4 int jj; | |
5 | |
6 __attribute__((transaction_safe)) | |
7 static void poof () | |
8 { | |
9 if (jj) | |
10 return; | |
11 poof(); | |
12 } | |
13 | |
14 __attribute__((transaction_safe)) | |
15 void TMlist_free () | |
16 { | |
17 poof(); | |
18 } | |
19 | |
20 /* { dg-final { scan-tree-dump-times "Function poof ._ZGTt4poof" 1 "optimized" } } */ |