[Bug c++/58950] Missing "statement has no effect"
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 3 21:19:00 GMT 2014
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
}
More information about the Gcc-bugs
mailing list