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: changing "configure" to default to "gcc -g -O2 -fwrapv ..."


Paul Eggert <eggert@CS.UCLA.EDU> writes:

| > In that case, we should make the Autoconf change optional.
| > I'll propose a further patch along those lines.
| 
| OK, here's that proposed patch to Autoconf.  Also, this patch attempts
| to discuss the matter better in the documentation.  The documentation
| was by far the hardest part of the patch to write, and I'd appreciate
| any comments/reviews for it.

To the attention of the Steering Committee.

Additional data: the the C++ runtime support assumes and publishes
wrapping semantics for signed integer arithmetic overflow.  This can
be seen from numeric_limits<T>::is_modulo. 
This has been so for about half a decade now (sorry I don't have the exact
dates). 

-- Gaby


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