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 tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr60505.c
blob
839b4d2c370e6b0160fd7b5cd9c4c819f1d21eb5
1
/* { dg-do compile } */
2
/* { dg-additional-options "-Wall -Werror" } */
3
4
void
foo
(
char
*
in
,
char
*
out
,
int
num
)
5
{
6
int
i
;
7
char
ovec
[
16
] = {
0
};
8
9
for
(
i
=
0
;
i
<
num
; ++
i
)
10
out
[
i
] = (
ovec
[
i
] =
in
[
i
]);
11
out
[
num
] =
ovec
[
num
/
2
];
12
}
13