2 930529-1.c from the execute part of the gcc torture suite.
11 int dd (int x
, int d
) { return x
/ d
; }
14 testTortureExecute (void)
16 #ifndef PORT_HOST // Hangs on Debian GNU/Linux with GCC 7.2.0
18 for (i
= -3; i
<= 3; i
++)
20 if (dd (i
, 1) != i
/ 1)
22 if (dd (i
, 2) != i
/ 2)
24 if (dd (i
, 3) != i
/ 3)
26 if (dd (i
, 4) != i
/ 4)
28 if (dd (i
, 5) != i
/ 5)
30 if (dd (i
, 6) != i
/ 6)
32 if (dd (i
, 7) != i
/ 7)
34 if (dd (i
, 8) != i
/ 8)
37 for (i
= ((unsigned) ~0 >> 1) - 3; i
<= ((unsigned) ~0 >> 1) + 3; i
++)
39 if (dd (i
, 1) != i
/ 1)
41 if (dd (i
, 2) != i
/ 2)
43 if (dd (i
, 3) != i
/ 3)
45 if (dd (i
, 4) != i
/ 4)
47 if (dd (i
, 5) != i
/ 5)
49 if (dd (i
, 6) != i
/ 6)
51 if (dd (i
, 7) != i
/ 7)
53 if (dd (i
, 8) != i
/ 8)