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
/
pr97929.c
blob
a027b317151ed522f58c1b19bc6f1972d2738ab5
1
/* { dg-do compile } */
2
#include <stdint.h>
3
#define ARR_SIZE 1024
4
extern
void
foo
(
int32_t
*
bar
,
int16_t
a
)
5
{
6
for
(
int
i
=
0
;
i
<
ARR_SIZE
;
i
++)
7
{
8
bar
[
i
] =
a
+
1
;
9
}
10
}