This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19756] -Wparentheses doesn't warn anymore
- From: "oliverst at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2005 15:33:43 -0000
- Subject: [Bug c++/19756] -Wparentheses doesn't warn anymore
- References: <20050202141616.19756.oliverst@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From oliverst at online dot de 2005-02-02 15:33 -------
from GCC 3.4.3 manual:
Also warn about constructions where there may be confusion to which if statement
an else branch belongs. Here is an example of such a case:
{
if (a)
if (b)
foo ();
else
bar ();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19756