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
Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr69956.c
blob
37d24d4a94bd1d3195bf5b0e6226a611ea0fbf00
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize" } */
3
/* { dg-additional-options "-march=skylake-avx512" { target { i?86-*-* x86_64-*-* } } } */
4
5
void
6
fn1
(
char
*
b
,
char
*
d
,
int
*
c
,
int
i
)
7
{
8
for
(;
i
;
i
++,
d
++)
9
if
(
b
[
i
])
10
*
d
=
c
[
i
];
11
}