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
Add qdf24xx base tuning support.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr50133.c
blob
2c0f490cfbe8171ebd0e2a163e17e83b9a1114b2
1
/* PR tree-optimization/50133 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -ftree-vectorize -fno-tree-loop-im" } */
4
5
extern
int
A
[],
B
[];
6
7
void
8
foo
(
int
z
)
9
{
10
int
j
,
i
;
11
for
(
j
=
0
;
j
<
32
;
j
++)
12
{
13
int
a
=
A
[
0
];
14
for
(
i
=
0
;
i
<
16
;
i
++)
15
a
=
A
[
i
] ?
a
:
z
;
16
B
[
j
] =
a
;
17
}
18
}