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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
tm
/
cancel-1.c
blob
6d60f2648c4467065d2f84c7903151947b2126c7
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm" } */
3
4
void
unsafe
(
void
)
__attribute__
((
transaction_unsafe
));
5
6
void
7
f
(
void
)
8
{
9
int
a
;
10
__transaction_atomic
{
11
a
=
1
;
12
__transaction_atomic
{
13
__transaction_cancel
;
14
}
15
}
16
unsafe
();
17
}