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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
pr60908.c
blob
773438ddbe6f8dddf25a2baf666dd1d0bd7ca92d
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm" } */
3
4
int
t
,
v
;
5
6
int
7
foo
(
void
)
8
{
9
while
(
1
)
10
{
11
__transaction_atomic
{
v
++; }
12
if
(
t
)
13
return
0
;
14
}
15
}