This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada front-end depends on signed overflow
- From: Paul Schlie <schlie at comcast dot net>
- To: Florian Weimer <fw at deneb dot enyo dot de>,Andrew Pinski <pinskia at physics dot uc dot edu>,GCC List <gcc at gcc dot gnu dot org>,<bosch at gnat dot com>
- Date: Fri, 03 Jun 2005 10:21:08 -0400
- Subject: Re: Ada front-end depends on signed overflow
> (Without -fwrapv, integer overflow is undefined, and subsequent range
> checks can be optimized away, so that it might cause erroneous
> behavior.)
- Since for all practical purposes most (if not all) target's use
2's complement integer representations which naturally "wrap", might
it be simply best to presume that all do "wrap" by default, but allow
-fnowrapv to disable it if ever required by the odd target/language?