1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#include <limits.h> int n = 0; g (i) { n++; } f (m) { int i; i = m; do { g (i * 4); i -= INT_MAX / 8; } while (i > 0); } main () { f (INT_MAX/8*4); if (n != 4) abort (); exit (0); }