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][ARM] gnu11 cleanup for aapcs testcases


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


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