public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.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:12:41 +0000	[thread overview]
Message-ID: <bug-93654-4-6RNNOOLa85@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-93654-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93654

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:a03efb266fcbf4a01285fff871a5bfe5caac4944

commit r9-8552-ga03efb266fcbf4a01285fff871a5bfe5caac4944
Author: H.J. Lu <hjl.tools@gmail.com>
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/

            Backport from master
            PR target/93654
            * config/i386/i386-options.c (ix86_set_indirect_branch_type):
            Allow -fcf-protection with -mindirect-branch=thunk-extern and
            -mfunction-return=thunk-extern.
            * doc/invoke.texi: Update notes for -fcf-protection=branch with
            -mindirect-branch=thunk-extern and -mindirect-return=thunk-extern.

    gcc/testsuite/

            Backport from master
            PR target/93654
            * gcc.target/i386/pr93654.c: New test.

    (cherry picked from commit 9be3bb2c0a258fd6a7d3d05d232a21930c757d3c)

  parent reply	other threads:[~2020-04-29 12:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-93654-4@http.gcc.gnu.org/bugzilla/>
2020-03-16 18:02 ` dwmw2 at infradead dot org
2020-04-28 15:01 ` hjl.tools at gmail dot com
2020-04-28 15:02 ` hjl.tools at gmail dot com
2020-04-28 22:52 ` hjl.tools at gmail dot com
2020-04-28 23:14 ` andrew.cooper3 at citrix dot com
2020-04-29  0:12 ` hjl.tools at gmail dot com
2020-04-29  0:17 ` andrew.cooper3 at citrix dot com
2020-04-29  2:00 ` hjl.tools at gmail dot com
2020-04-29 12:00 ` cvs-commit at gcc dot gnu.org
2020-04-29 12:12 ` cvs-commit at gcc dot gnu.org [this message]
2020-04-29 12:18 ` andrew.cooper3 at citrix dot com
2020-04-29 12:22 ` [Bug target/93654] [9/10 Regression] Inappropriate "-fcf-protection and -mindirect-branch=thunk-extern are incompatible" restriction hjl.tools at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-93654-4-6RNNOOLa85@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).