[Bug c/23113] The -Wunused (value computed is not used) option missed an important case

2005-07-28 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug c/23113] The -Wunused (value computed is not used) option missed an important case

2005-07-28 Thread trt at acm dot org
--- 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

Re: [Bug c/23113] The -Wunused (value computed is not used) option missed an important case

2005-07-28 Thread Neil Booth
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

[Bug c/23113] The -Wunused (value computed is not used) option missed an important case

2005-07-28 Thread neil at daikokuya dot co dot uk
--- 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

[Bug c/23113] The -Wunused (value computed is not used) option missed an important case

2005-07-28 Thread bangerth at dealii 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