--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-28
17:28 ---
foo() has side effects.
*p++ has the side effect of increasing p by 1.
--
What|Removed |Added
--- Additional Comments From trt at acm dot org 2005-07-28 19:27 ---
In what sense is this bug invalid? The comment I noted in c-typeck.c does not
match the current implementation, so one or both of those must be incorrect.
Older versions of gcc issued a warning for *p++; and so should
pinskia at gcc dot gnu dot org wrote:-
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-28
17:28 ---
foo() has side effects.
*p++ has the side effect of increasing p by 1.
--
What|Removed |Added
--- Additional Comments From neil at daikokuya dot co dot uk 2005-07-28
22:46 ---
Subject: Re: The -Wunused (value computed is not used) option missed an
important case
pinskia at gcc dot gnu dot org wrote:-
--- Additional Comments From pinskia at gcc dot gnu dot org
--- Additional Comments From bangerth at dealii dot org 2005-07-28 23:42
---
Confirmed. These are all regressions.
W.
--
What|Removed |Added
Status|RESOLVED