This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: basic VRP min/max range overflow question
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Paul Schlie <schlie at comcast dot net>
- Cc: Eric Botcazou <ebotcazou at libertysurf dot fr>, gcc at gcc dot gnu dot org
- Date: Fri, 17 Jun 2005 08:28:00 -0400
- Subject: Re: basic VRP min/max range overflow question
- References: <BED7C98B.A841%schlie@comcast.net>
On Fri, Jun 17, 2005 at 12:27:55AM -0400, Paul Schlie wrote:
> Upon a potential integer overflow of either it's min or max range,
> shouldn't the result be set to [min:type-min-value, max:type-max-value],
> without the necessity of any further designations?
>
If you want this behaviour, use -fwrapv.
Diego.