http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.9 Regression] Missing |Missing "statement has no
|"statement has no effect" |effect"
--- Comment #13 from Marc Glisse <glisse at gcc dot gnu.org> ---
Testcase for the remaining part of the PR:
void f(){
int i=2;
(i+i); // should warn with -Wall
}
