------- Comment #10 from pinskia at gcc dot gnu dot org  2005-10-13 16:12 
-------
Subject: Re:  [4.1 Regression] -1073741824 <= n && n <= 1073741823 is true
where n is 1073741824

> 
> 
> 
> ------- Comment #9 from bonzini at gcc dot gnu dot org  2005-10-13 16:09 
> -------
> As in:
> 
>   if (value != 0
>       && (!flag_wrapv || TREE_OVERFLOW (value))
>       && (flag_wrapv || !TYPE_UNSIGNED (etype)))
> 
> which in turn means
> 
>   if (value != 0
>       && (flag_wrapv ? TREE_OVERFLOW (value) : !TYPE_UNSIGNED (etype)))

That is what my patch does.

The extra stuff was needed to make sure that Ada would be able to bootstrap.

-- Pinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22429

Reply via email to