This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19564] -Wparentheses does not work with the C++ front-end
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2005 14:12:17 -0000
- Subject: [Bug c++/19564] -Wparentheses does not work with the C++ front-end
- References: <20050121134029.19564.fm3@os.inf.tu-dresden.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-21 14:12 -------
Note here is the testcase:
int f(int a, int b)
{
if (a>0 & b>0) /* { dg-warning "" } */
return 210;
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19564