From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 95CAD38930C3; Wed, 29 Apr 2020 12:00:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95CAD38930C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588161609; bh=3B22L7+HXu/4TZ8mk5JMQFoDMNHA3eB266xJbdVWI1k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wxs3sLNNPyB0JrxRtwLHq2WC7qdwIhv94B6FCvzQ+x49D5L+Na9uBGpaRDsUb8JcA e27mnCicpExgoE+gpNZAzrgtIHTzjfPNwaYcV6LFWcWpzblCNISCN/JaRZ9CxAfzvM NZeRIqGqm6YQnHjdkQ2x5wTF8XP75vPw+sXaTYzE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93654] Inappropriate "-fcf-protection and -mindirect-branch=thunk are incompatible on x86_64" restriction Date: Wed, 29 Apr 2020 12:00:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hjl.tools at gmail dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2020 12:00:09 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93654 --- Comment #9 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:9be3bb2c0a258fd6a7d3d05d232a21930c757d3c commit r10-8047-g9be3bb2c0a258fd6a7d3d05d232a21930c757d3c Author: H.J. Lu Date: Wed Apr 29 04:52:46 2020 -0700 x86: Allow -fcf-protection with external thunk Allow -fcf-protection with external thunk since the external thunk can = be made compatible with -fcf-protection. gcc/ PR target/93654 * config/i386/i386-options.c (ix86_set_indirect_branch_type): Allow -fcf-protection with -mindirect-branch=3Dthunk-extern and -mfunction-return=3Dthunk-extern. * doc/invoke.texi: Update notes for -fcf-protection=3Dbranch wi= th -mindirect-branch=3Dthunk-extern and -mindirect-return=3Dthunk-= extern. gcc/testsuite/ PR target/93654 * gcc.target/i386/pr93654.c: New test.=