Re: [PATCH] x86: Compile with -fcf-protection=none -mno-cet

2018-04-18 Thread H.J. Lu
t;> Igor V <igor.v.tsimbal...@intel.com> >> Subject: [PATCH] x86: Compile with -fcf-protection=none -mno-cet >> >> These tests must be compiled with -fcf-protection=none -mno-cet. > > Why -mno-cet is needed? -fcf-protection=none should not require any extra > opti

RE: [PATCH] x86: Compile with -fcf-protection=none -mno-cet

2018-04-18 Thread Tsimbalist, Igor V
> -Original Message- > From: Lu, Hongjiu > Sent: Sunday, April 15, 2018 12:59 PM > To: gcc-patches@gcc.gnu.org; Uros Bizjak <ubiz...@gmail.com>; Tsimbalist, > Igor V <igor.v.tsimbal...@intel.com> > Subject: [PATCH] x86: Compile with -fcf-protection=none

Re: [PATCH] x86: Compile with -fcf-protection=none -mno-cet

2018-04-18 Thread Richard Biener
On Sun, Apr 15, 2018 at 12:59 PM, H.J. Lu wrote: > These tests must be compiled with -fcf-protection=none -mno-cet. Required for correctness or just to make the dump scannings happy? In that case I'd prefer the more descriptive dg-skip-if > OK for trunk? > > H.J. > >

[PATCH] x86: Compile with -fcf-protection=none -mno-cet

2018-04-15 Thread H.J. Lu
These tests must be compiled with -fcf-protection=none -mno-cet. OK for trunk? H.J. * c-c++-common/attr-nocf-check-1.c: Compile with -fcf-protection=none -mno-cet for x86 targets. * c-c++-common/attr-nocf-check-3.c: Likewise. * gcc.dg/march-generic.c: