This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C/C++/IRA] PR 16302 gcc fails to warn about some common logic errors
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, Jason Merrill <jason at redhat dot com>, Nathan Sidwell <nathan at codesourcery dot com>, Vladimir Makarov <vmakarov at redhat dot com>
- Date: Fri, 15 May 2009 08:02:35 -0700
- Subject: Re: [C/C++/IRA] PR 16302 gcc fails to warn about some common logic errors
- References: <6c33472e0905142348y142c319br6d5ca874ec0456e7@mail.gmail.com>
Manuel López-Ibáñez wrote:
> cp/
> * call.c (build_new_op): Update calls to warn_logical_operator.
>
> testsuite/
> * gcc.dg/pr16302.c: New.
> * g++.dg/warn/pr16302.C: New.
The C++ part of this is OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713