This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC optimizes integer overflow: bug or feature?


Andrew Haley wrote:
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.

OK, well if you say to people


gcc is a nonstandard implementation of C99, most people will read that
to indicate that it is non-conforming, so I suggest avoiding this term.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]