[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: David Daney
Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Date: Sun, 31 Dec 2006 11:55:05 -0800
User-agent: Thunderbird (Windows/20061025)

Paul Eggert wrote:
If memory serves K&Rv1 didn't talk about overflow, yes.
My K&R V1 says in Appendix A (C Reference Manual) Section 7:
The handling of overflow and divide check in expression evaluation is machine-dependent. All existing implementations of C ignore integer overflows; treatment of division by 0, and all floating-point exceptions, varies between machines, and is usually adjustable by a library function.

In chapter 2, section 2.5 it basically says the same thing.

Those are the only two places the index indicates that 'overflow' is described.

David Daney

reply via email to

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