Sign in
gnu
/
gcc
/
e28e8ab1a92e9b49f7c4045377577c8dc17751b7
/
.
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
pr110142.c
blob: a88dbe400f46a33a53649298345c24c569e2f567 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-additional-options "-O3" } */
void
test
(
short
*
x
,
unsigned
short
*
y
,
int
n
)
{
for
(
int
i
=
0
;
i
<
n
;
i
++)
x
[
i
]
=
(
y
[
i
]
-
x
[
i
])
>>
1
;
}
/* { dg-final { scan-tree-dump-not "widen_minus" "vect" } } */