OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
For Greta Yorsh.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr32821.c
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
15
/* { dg-final { cleanup-tree-dump "ifcvt" } } */