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
PR rtl-optimization/87918
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
sparc
/
cas64.c
blob
ed27cd7cc621f670ef8fb189789a7d2f8f4e1b49
1
/* PR target/49660 */
2
3
/* { dg-do compile { target sparc*-*-solaris2.* } } */
4
5
#include <stdint.h>
6
7
extern
int64_t
*
val
,
old
,
new
;
8
9
int
10
cas64
(
void
)
11
{
12
return
__sync_bool_compare_and_swap
(
val
,
old
,
new
);
13
}
14
15
/* { dg-final { scan-assembler-not "compare_and_swap_8" } } */