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: [testsuite] C/C++ common tests


Manuel López-Ibáñez wrote:

> 2009-08-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
> 
> 	* gcc.dg/dg.exp: Test also c-c++-common dir.
> 	* g++.dg/dg.exp: Likewise.
> 	* g++.dg/warn/Wconversion-real.C: Delete.
> 	* gcc.dg/Wconversion-real.c: Move to ...
> 	* c-c++-common/Wconversion-real.c: ... here.
> 	* lib/target-supports.exp
> 	(check_effective_target_c,check_effective_target_c++): New.

I think this is a good idea.  I'll leave the testsuite machinery bits to
Janis, but I think sharing these tests (and, in general, making the C
and C++ front ends behave as similarly as possible on the common subset
of both languages) makes good sense.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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