Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / pr86179.c
blob6a90f09e6e80ea7d0c8a588302f30cb2c03be843
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
4 void c(int *d, char *g)
6 char *a, *b, *e;
7 int f;
8 for (; f; f -= 8) {
9 *d++ = *e++ | (unsigned)*g++ << 8 | (unsigned)*b++ << 16 |
10 (unsigned)*a++ << 24;
11 *d++ = *e++ | (unsigned)*g++ << 8 | (unsigned)*b++ << 16 |
12 (unsigned)*a++ << 24;