[RFC] [PATCH V2, AARCH64]: Re: [RFC] [PATCH, AARCH64] Machine descriptions to support stack smashing protection

Richard Earnshaw rearnsha@arm.com
Tue Nov 26 17:52:00 GMT 2013


On 26/11/13 14:16, Venkataramanan Kumar wrote:
> Index: gcc/testsuite/gcc.dg/fstack-protector-strong.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/fstack-protector-strong.c	(revision 205378)
> +++ gcc/testsuite/gcc.dg/fstack-protector-strong.c	(working copy)
> @@ -1,6 +1,6 @@
>  /* Test that stack protection is done on chosen functions. */
>  
> -/* { dg-do compile { target i?86-*-* x86_64-*-* rs6000-*-* s390x-*-* } } */
> +/* { dg-do compile { target i?86-*-* x86_64-*-* rs6000-*-* s390x-*-* aarch64-*-* } } */
>  /* { dg-options "-O2 -fstack-protector-strong" } */
>  

I don't think it's good to have long lists of targets on generic tests.
 Can we factor this out into a target-supports option?

R.



More information about the Gcc-patches mailing list