Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6812.41.B
/
.
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
O3-pr45971.c
blob: 1b7c65c806662bdcb62ad9d9bcdf936b9c817bef [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
void
foo
(
int
*
x
,
int
*
y
)
{
int
i
;
for
(
i
=
0
;
i
<
11
;
i
++)
y
[
i
]
=
(
x
[
i
]
==
1
)
?
i
+
1
:
-(
i
+
1
);
}
/* { dg-final { cleanup-tree-dump "vect" } } */