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 <h...@gcc.gnu.org>:

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

commit r9-8552-ga03efb266fcbf4a01285fff871a5bfe5caac4944
Author: H.J. Lu <hjl.to...@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)

Reply via email to