Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / pr80463.c
blobcebf2fef1f32a3ea1ddbd26ff367ddc154577578
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-g -O2 -fvar-tracking-assignments -fselective-scheduling2 -ftree-loop-vectorize -fnon-call-exceptions -fno-tree-vrp -fno-gcse-lm -fno-tree-loop-im -fno-reorder-blocks-and-partition -fno-reorder-blocks -fno-move-loop-invariants -w" } */
4 short int t2;
5 int cd, aa, ft;
7 void
8 dh (void)
10 int qs = 0;
12 if (t2 < 1)
14 int bq = 0;
16 while (bq < 1)
20 while (t2 < 1)
22 if (t2 == 0)
24 bq = 0;
25 cd = !!cd;
27 else
29 bq = 1;
30 cd = bq > qs;
33 t2 += cd;
34 bq = (t2 / qs) == bq;
36 if (aa != ft)
38 qs %= 0;
39 while (bq != 0)
41 ro:
46 ++t2;
49 ia:
50 goto ro;
53 goto ia;