Debian Codegraph @

gcc/testsuite/gcc.dg/vect/pr110142.c

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