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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
pr45985.c
blob
c811840677628b3c0099c2db1c5a4ffc2d34845f
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm" } */
3
4
__attribute__
((
transaction_unsafe
))
5
void
illegal
();
6
7
static int
a
=
0
;
8
void
func
()
9
{
10
__transaction_relaxed
{
11
if
(
a
==
0
)
12
illegal
();
13
}
14
}