[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."

From: Gabriel Dos Reis
Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Date: 31 Dec 2006 10:44:32 +0100

Paul Eggert <address@hidden> writes:

| address@hidden (Richard Kenner) writes:
| > I found my copy of K&R (Second Edition)....
| Robert Dewar <address@hidden> writes:
| > so in fact the new C standard has changed
| > nothing from a definitional point of view,
| Wait, though: K&Rv2 is post-C89.  If memory serves, it was C89
| that established the rule that signed integer overflow has
| undefined behavior whereas unsigned overflow is well-defined.

My memory is that signed integer arithmetic overflow is undefined by
K&R C; unfortunately, my copy of the '77 edition of K&R is at office,
thousands of miles away from where I'm.

-- Gaby

reply via email to

[Prev in Thread] Current Thread [Next in Thread]