Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr64183.c
blob50d0c5a1c5a98b766450482c202c49a06369907b
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fno-tree-vectorize -fdisable-tree-sccp -fdump-tree-cunroll-details" } */
4 int bits;
5 unsigned int size;
6 int max_code;
8 void
9 test ()
11 int code = 0;
13 while (code < max_code)
14 code |= ((unsigned int) (size >> (--bits)));
16 while (bits < (unsigned int)25)
17 bits += 8;
20 /* { dg-final { scan-tree-dump "Loop 2 iterates at most 3 times" "cunroll"} } */