This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH RFA: C++ frontend warning: comparing function pointer to NULL


On Sun, 7 Jan 2007, Manuel Lopez-Ibanez wrote:

> Also, perhaps we could consider this something to take into account
> before sending patches that add new testcases. Most of the time, a
> simple grep on the option name or a representative part of the
> expected output will bring up similar (and thus redundant) testcases.
> Maybe this could be commented somewhere...

It's generally a mistake to consider testcases redundant unless actually 
identical.  While two testcases may appear to test the same thing with the 
current implementation while the compiler is working correctly, a 
reimplementation of a feature or diagnostic could cause them to take 
different code paths, and a regression could break one similar case but 
not the other.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]