--- Comment #5 from l_belev at yahoo dot com 2007-08-29 13:35 ---
Tested this in 4.2.1 and int seems to be fixed (i.e. the compiler now does not
make difference between the 2 variants ot the code)
Thank you!
--
l_belev at yahoo dot com changed:
What|Removed
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-13
11:55 ---
Confirmed.
--
What|Removed |Added
Status|UNCONFIRMED |NEW
E
--- Additional Comments From joseph at codesourcery dot com 2005-02-11
23:19 ---
Subject: Re: GCC does not disclose parentheses
On Fri, 11 Feb 2005, l_belev at yahoo dot com wrote:
> I dont understand what the purpose of -fwrapv is, because the compiler
> always knows whether the mach
--- Additional Comments From l_belev at yahoo dot com 2005-02-11 23:09
---
(In reply to comment #1)
> Note that the first expression can involve undefined behavior when the
> second doesn't, so transformations between these forms would be invalid
> with -ftrapv and until we have intern
--- Additional Comments From joseph at codesourcery dot com 2005-02-11
21:34 ---
Subject: Re: New: GCC does not disclose parentheses
On Fri, 11 Feb 2005, l_belev at yahoo dot com wrote:
> GCC generates different codes for the both functions:
> int f1(int k) { return k*k+k; }
> int