* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / 980816-1.c
blobd4f59c40c538be32f4a5fb14c711effc9fbcf8a8
1 /* { dg-do compile } */
3 int
4 div_and_round_double (lden_orig, hden_orig)
5 int lden_orig, hden_orig;
7 int quo[4];
8 register int i;
9 unsigned int work;
10 register unsigned int carry = 0;
11 int lden = lden_orig;
12 int hden = hden_orig;
13 neg_double (&lden, &hden);
14 for (i = 4 - 1; i >= 0; i--)
16 quo[i] = work / (unsigned int ) lden;
17 carry = work % (unsigned int ) lden;
19 return 0;