repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20061005-1.c
blob
a433509aec459c846c05f006c4a329c13985b6e2
1
/* PR target/28924 */
2
3
char
c
;
4
5
void
6
testc
(
void
)
7
{
8
(
void
)
__sync_fetch_and_add
(&
c
, -
1
);
9
}
10
11
short
s
;
12
13
void
14
tests
(
void
)
15
{
16
(
void
)
__sync_fetch_and_add
(&
s
, -
1
);
17
}
18
19
void
20
testc2
(
void
)
21
{
22
(
void
)
__sync_val_compare_and_swap
(&
c
, -
1
, -
3
);
23
}