repo.or.cz
/
gcc-vect-testsuite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add compile command to each testcase
[gcc-vect-testsuite.git]
/
O3-pr45971.c
blob
1b7c65c806662bdcb62ad9d9bcdf936b9c817bef
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
void
5
foo
(
int
*
x
,
int
*
y
)
6
{
7
int
i
;
8
for
(
i
=
0
;
i
<
11
;
i
++)
9
y
[
i
] = (
x
[
i
] ==
1
) ?
i
+
1
: -(
i
+
1
);
10
}
11
12
/* { dg-final { cleanup-tree-dump "vect" } } */
13