+2006-06-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
+ typically overflows on x86 CPUs, even though the C standard
+ requires otherwise.
+
2006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac (AC_INIT): Bump to 2.59e.
are portable to the vast majority of modern platforms. However, signed
integer division is not always harmless: for example, on CPUs of the
i386 family, dividing @code{INT_MIN} by @code{-1} yields a SIGFPE signal
-which by default terminates the program.
+which by default terminates the program. Worse, taking the remainder
+of these two values typically yields the same signal on these CPUs,
+even though the C standard requires @code{INT_MIN % -1} to yield zero
+because the expression does not overflow.
GCC users might consider using the
@option{-ftrapv} option if they are worried about porting their code to