Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33742.c
blobb905d9ddad93075af7cd6c9af5ce4fd418e6ae04
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize" } */
4 typedef unsigned short ush;
5 extern ush prev[];
7 void fill_window ()
9 register unsigned n, m;
11 for (n = 0; n < 32768; n++)
13 m = prev[n];
14 prev[n] = (ush) (m >= 0x8000 ? m - 0x8000 : 0);