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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr44964.c
blob
6c252ee2616b83a3b0ec6d88f3cf0344822bd707
1
/* { dg-do compile } */
2
/* { dg-options "-fkeep-inline-functions -O" } */
3
4
static
inline
__attribute__
((
const
))
5
int
baz
(
int
i
)
6
{
7
return
i
;
8
}
9
10
static
__attribute__
((
always_inline
))
11
inline
__attribute__
((
flatten
))
12
void
bar
(
void
)
13
{
14
baz
(
0
);
15
}
16
17
void
18
foo
(
void
)
19
{
20
bar
();
21
}
22