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
/
vect
/
pr78938.c
blob
095e674adf5312208b57d618f3b7d69e03214792
1
/* PR tree-optimization/78938 */
2
/* { dg-do compile } */
3
/* { dg-additional-options "-mavx512bw" { target i?86-*-* x86_64-*-* } } */
4
5
short int
v
;
6
7
int
8
foo
(
char
x
,
int
*
b
)
9
{
10
int
a
=
1
;
11
for
(;
x
<
1
;
x
++)
12
{
13
int
c
= *
b
!=
v
;
14
int
d
=
x
!=
0
;
15
a
=
c
==
d
?
2
:
0
;
16
}
17
return
a
;
18
}