On Tue, Oct 24, 2017 at 10:58 AM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Tue, Oct 24, 2017 at 10:40 AM, Andi Kleen <a...@linux.intel.com> wrote: >> "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 >> > > Here is the updated patch to add a testcase for -mnop-mcount -mrecord-mcount. > No other changes otherwise. > >
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01741.html PING. -- H.J.