------- Comment #3 from geoff at dyalog dot com  2010-06-02 11:36 -------
Subject: Re:  optimiser destroys possibility
 of detecting overflow

On 02/06/10 12:17, rguenth at gcc dot gnu dot org wrote:
> ------- Comment #2 from rguenth at gcc dot gnu dot org  2010-06-02 11:17 
> -------
> Please specify the GCC version you see this bug.  I think it has been fixed
> with GCC 4.5.0.
>
> gcc-4.4 -o t main.c slave.c -O3
>> ./t
> overflow assigning 12524191771
> total returned = 27
>
> gcc-4.5 -o t main.c slave.c -O3
>> ./t
> total returned = 27
>
>

Yes I am using 4.4.3.

Thankyou for the stunning response.

Geoff


-- 


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

Reply via email to