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
2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr53749.c
blob
136b5b09c52656ccc9f38eb31731dc8555f2825d
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize" } */
3
4
#define N 1024
5
unsigned char
a
[
N
],
b
[
N
],
c
[
N
];
6
7
void
f1
(
void
)
8
{
9
int
i
;
10
for
(
i
=
0
;
i
<
N
; ++
i
)
11
a
[
i
] =
b
[
i
] *
c
[
i
];
12
}
13
14
void
f2
(
void
)
15
{
16
int
i
;
17
for
(
i
=
0
;
i
<
N
; ++
i
)
18
a
[
i
] =
b
[
i
] *
2
;
19
}
20
21
void
f3
(
void
)
22
{
23
int
i
;
24
for
(
i
=
0
;
i
<
N
; ++
i
)
25
a
[
i
] =
b
[
i
] *
20
;
26
}