1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
3 void test(short *x
, unsigned short *y
, int n
)
5 for (int i
= 0; i
< n
; i
++)
6 x
[i
] = (y
[i
] - x
[i
]) >> 1;
9 /* { dg-final { scan-tree-dump-not "widen_minus" "vect" } } */