This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: C++ frontend warning: comparing function pointer to NULL
- From: "Manuel LÃpez-IbÃÃez" <lopezibanez at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: "Gabriel Dos Reis" <gdr at integrable-solutions dot net>, "Ian Lance Taylor" <iant at google dot com>, "Andrew Pinski" <pinskia at physics dot uc dot edu>, "Mark Mitchell" <mark at codesourcery dot com>
- Date: Sun, 7 Jan 2007 13:30:10 +0000
- Subject: Re: PATCH RFA: C++ frontend warning: comparing function pointer to NULL
(Sorry for taking so much time to bring this up.)
Ian added 2 testcases for Walways-true in revision 120493. There are
at least 3 existing testcases that also deal with Walways-true:
* gcc.dg/20031012-1.c
* gcc.dg/weak/weak-3.c
* g++.old-deja/g++.mike/warn8.C
They were added in revision 108689.
Wouldn't it be appropriate to integrate them into the testcases added
by Ian and remove any duplicated tests?
Cheers,
Manuel.