repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add qdf24xx base tuning support.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
nested-2.c
blob
2ea3b93ec5ce8c5229f93fb3f4c50fd10b06aeba
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm" } */
3
/* { dg-add-options bind_pic_locally } */
4
5
void
foobar
(
void
)
6
{
7
__transaction_atomic
{
8
foobar
();
9
}
10
}
11
12
void
doit
(
void
)
__attribute__
((
transaction_safe
));
13
14
__attribute__
((
transaction_callable
))
15
void
callable
(
void
)
16
{
17
__transaction_atomic
{
18
doit
();
19
}
20
}