This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] C/C++ common tests
- 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>, Janis Johnson <janis187 at us dot ibm dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Sun, 09 Aug 2009 11:02:14 -0700
- Subject: Re: [testsuite] C/C++ common tests
- References: <6c33472e0908080217m74837c8atc5e8d98316b05eaf@mail.gmail.com>
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