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
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46184.c
blob
fafa7f463d91c4f3a59b332fc4a7c25ccc92636a
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce" } */
3
4
extern
int
A
[],
B
[];
5
6
void
7
foo
(
int
z
)
8
{
9
int
j
,
i
;
10
for
(
j
=
0
;
j
<
32
;
j
++)
11
{
12
int
curr_a
=
A
[
0
];
13
for
(
i
=
0
;
i
<
16
;
i
++)
14
curr_a
=
A
[
i
] ?
curr_a
:
z
;
15
B
[
j
] =
curr_a
;
16
}
17
}
18