This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC optimizes integer overflow: bug or feature?
Andrew Haley <aph@redhat.com> writes:
| Robert Dewar writes:
| > Andrew Haley wrote:
| >
| > > We've already defined `-fwrapv' for people who need nonstandard
| > > arithmetic.
| >
| > Nonstandard implies that the result does not conform with the standard,
|
| I don't think it does; it merely implies that any program which
| requires "-fwrapv" for correct execution is not a strictly conforming
| program.
How many useful C programs do you know that are strictly conforming?
Certainly, GCC isn't stritcly conforming.
I suspect the actual argument must be somewhere else.
-- Gaby