This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4/n] Add conditional compare support - test cases
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Zhenqiang Chen <zhenqiang dot chen at linaro dot org>
- Cc: "gcc-patches\ at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 24 Feb 2014 10:26:50 +0100
- Subject: Re: [PATCH 4/n] Add conditional compare support - test cases
- Authentication-results: sourceware.org; auth=none
- References: <CACgzC7DJXoPkcW_NiVTTLH2kx8xW3PxhnhwW1kkuqAO-GEtVOw at mail dot gmail dot com>
Hi Zhenqiang Chen,
> Here is the patch to include testcases to cover most combinations of
> conditional compares (signed, unsigned, int, short, long, "||", "&&",
> etc).
[...]
> diff --git a/gcc/testsuite/gcc.dg/ccmn-w-eq-1.c b/gcc/testsuite/gcc.dg/ccmn-w-eq-1.c
> new file mode 100644
> index 0000000..446f8d2
> --- /dev/null
> +++ b/gcc/testsuite/gcc.dg/ccmn-w-eq-1.c
> @@ -0,0 +1,102 @@
> +//* { dg-do run } */
all of your testcases have mixed C++/C comments for the dg-do line.
Please use pure C comments instead.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University