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
/
vect
/
pr84419.c
blob
4864f8eb934dd5eaf78357d130c672f92f8b6d22
1
#include <string.h>
2
3
#define SIZE 400
4
5
int
foo
[
SIZE
];
6
char
bar
[
SIZE
];
7
8
void
__attribute__
((
noinline
))
foo_func
(
void
)
9
{
10
int
i
;
11
for
(
i
=
1
;
i
<
SIZE
;
i
++)
12
if
(
bar
[
i
])
13
foo
[
i
] =
1
;
14
}
15
16
int
main
()
17
{
18
memset
(
bar
,
1
,
sizeof
(
bar
));
19
foo_func
();
20
return
0
;
21
}