"H.J. Lu" <hongjiu...@intel.com> writes:
> --- /dev/null
> +++ b/gcc/testsuite/gcc.target/i386/pr82699-4.c
> @@ -0,0 +1,11 @@
> +/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
> +/* { dg-options "-O2 -fpic -fcf-protection -mcet -pg -mfentry 
> -fasynchronous-unwind-tables" } */
> +/* { dg-final { scan-assembler-times {\t\.cfi_startproc\n\tendbr} 1 }
> } */

Would add test cases for -mnop-mcount and -mrecord-mcount too

-Andi

Reply via email to