From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55656 invoked by alias); 6 Feb 2018 21:14:13 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 55644 invoked by uid 89); 6 Feb 2018 21:14:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mga11.intel.com Received: from mga11.intel.com (HELO mga11.intel.com) (192.55.52.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Feb 2018 21:14:10 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2018 13:14:09 -0800 X-ExtLoop1: 1 Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga005.fm.intel.com with ESMTP; 06 Feb 2018 13:14:09 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.95]) by IRSMSX103.ger.corp.intel.com ([169.254.3.197]) with mapi id 14.03.0319.002; Tue, 6 Feb 2018 21:14:08 +0000 From: "Tsimbalist, Igor V" To: "H.J. Lu" , "gcc-patches@gcc.gnu.org" CC: Uros Bizjak , "Tsimbalist, Igor V" Subject: RE: [PATCH] Use -fcf-protection=return in cet-intrin-4.c Date: Tue, 06 Feb 2018 21:14:00 -0000 Message-ID: References: <20180206210252.GA238786@intel.com> In-Reply-To: <20180206210252.GA238786@intel.com> x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmEyMzg1YmEtMjRiMy00ODEzLTkyYTUtMmE0ZDk1ZmQzNDFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJTY3Bhbk5sVVJrckd6dHhGS1lWMWNocENJT1RSS1B5bXlITCt6MG8xRGtCb2RjcjFPQXI5dEJcL0F4bTY1SG1HTyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00278.txt.bz2 > -----Original Message----- > From: Lu, Hongjiu > Sent: Tuesday, February 6, 2018 10:03 PM > To: gcc-patches@gcc.gnu.org > Cc: Uros Bizjak ; Tsimbalist, Igor V > > Subject: [PATCH] Use -fcf-protection=3Dreturn in cet-intrin-4.c >=20 > Since -fcf-protection requires both -mshstk and -mibt, use > -fcf-protection=3Dreturn with -mshstk in cet-intrin-4.c. >=20 > OK for trunk? Ok from CET viewpoint. Igor > H.J. > -- > PR target/84243 > * gcc.target/i386/cet-intrin-4.c (dg-options): Use > -fcf-protection=3Dreturn. > --- > gcc/testsuite/gcc.target/i386/cet-intrin-4.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/gcc/testsuite/gcc.target/i386/cet-intrin-4.c > b/gcc/testsuite/gcc.target/i386/cet-intrin-4.c > index 76ec160543f..437a4cd690c 100644 > --- a/gcc/testsuite/gcc.target/i386/cet-intrin-4.c > +++ b/gcc/testsuite/gcc.target/i386/cet-intrin-4.c > @@ -1,5 +1,5 @@ > /* { dg-do compile } */ > -/* { dg-options "-O -fcf-protection -mshstk" } */ > +/* { dg-options "-O -fcf-protection=3Dreturn -mshstk" } */ > /* { dg-final { scan-assembler "rdsspd|incsspd\[ \t]+(%|)eax" { target i= a32 } } } > */ > /* { dg-final { scan-assembler "rdssp\[dq]\[ \t]+(%|)\[re]ax" { target = { ! ia32 } } > } } */ > /* { dg-final { scan-assembler "incssp\[dq]\[ \t]+(%|)\[re]di" { target = { ! ia32 } } > } } */ > -- > 2.14.3