bug-gnulib
[Top][All Lists]
Advanced

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

Re: GCC optimizes integer overflow: bug or feature?


From: Gabriel Dos Reis
Subject: Re: GCC optimizes integer overflow: bug or feature?
Date: 19 Dec 2006 03:58:31 -0600

Andrew Haley <address@hidden> 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




reply via email to

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