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 4/n] Add conditional compare support - test cases


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


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