This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] gnu11 cleanup for aapcs testcases
- From: Marek Polacek <polacek at redhat dot com>
- To: Jiong Wang <jiong dot wang at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 24 Oct 2014 13:50:24 +0200
- Subject: Re: [PATCH][ARM] gnu11 cleanup for aapcs testcases
- Authentication-results: sourceware.org; auth=none
- References: <544A3C88 dot 3010008 at arm dot com>
On Fri, Oct 24, 2014 at 12:48:24PM +0100, Jiong Wang wrote:
> a furhter cleanup under aapcs sub-directory.
>
> ok for trunk?
>
> gcc/testsuite/
> * gcc.target/arm/aapcs/abitest.h: Declare memcpy.
> diff --git a/gcc/testsuite/gcc.target/arm/aapcs/abitest.h b/gcc/testsuite/gcc.target/arm/aapcs/abitest.h
> index 06a92c3..7bce58b 100644
> --- a/gcc/testsuite/gcc.target/arm/aapcs/abitest.h
> +++ b/gcc/testsuite/gcc.target/arm/aapcs/abitest.h
> @@ -49,6 +49,8 @@
>
>
> extern void abort (void);
> +typedef unsigned int size_t;
> +extern int memcmp (const void *s1, const void *s2, size_t n);
You can use __SIZE_TYPE__ and then you don't need the typedef.
Marek