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
PR tree-optimization/33562
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr32821.c
blob
800ac98577f1f6ec68232814cec72df3a997eeef
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize -fdump-tree-ifcvt-details" } */
3
4
void
5
main1
(
int
*
arr
,
int
n
,
int
a
,
int
b
)
6
{
7
int
i
;
8
for
(
i
=
0
;
i
<
n
;
i
++)
9
{
10
int
m
=
arr
[
i
];
11
arr
[
i
] = (
m
<
a
?
m
-
a
:
b
);
12
}
13
}
14