projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cgraph: A COMDAT decl always has non-zero address.
[gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr52177.c
1
/* PR middle-end/52177 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fno-tree-ccp" } */
4
5
int
*
s
;
6
7
static
inline
int
8
foo
()
9
{
10
return sizeof
(
int
);
11
}
12
13
int
14
bar
()
15
{
16
return
__atomic_always_lock_free
(
foo
(),
s
);
17
}
18
19
int
20
baz
()
21
{
22
return
__atomic_is_lock_free
(
foo
(),
s
);
23
}