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
* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
vect-pr43423.c
blob
238e16ad61456762396d068541c883da0e16338a
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
int
a
[
100
],
b
[
100
],
c
[
100
];
5
6
void
foo
(
int
n
,
int
mid
)
7
{
8
int
i
;
9
for
(
i
=
0
;
i
<
n
;
i
++)
10
{
11
if
(
i
<
mid
)
12
a
[
i
] =
a
[
i
] +
b
[
i
];
13
else
14
a
[
i
] =
a
[
i
] +
c
[
i
];
15
}
16
}
17
18
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail *-*-* } } } */