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

--- Comment #3 from itsimbal at gcc dot gnu.org ---
Author: itsimbal
Date: Tue Feb  6 15:25:31 2018
New Revision: 257414

URL: https://gcc.gnu.org/viewcvs?rev=257414&root=gcc&view=rev
Log:
Fix checking -mibt and -mshstk options for control flow protection

        PR target/84145
        * config/i386/i386.c: Reimplement the check of possible options
        -mibt/-mshstk conbination. Change error messages.
        * doc/invoke.texi: Fix a typo: remove extra '='.
        * c-c++-common/fcf-protection-1.c: Change a compared message.
        * c-c++-common/fcf-protection-2.c: Likewise.
        * c-c++-common/fcf-protection-3.c: Likewise.
        * c-c++-common/fcf-protection-5.c: Likewise.
        * c-c++-common/fcf-protection-6.c: New test.
        * c-c++-common/fcf-protection-7.c: Likewise.

Added:
    trunk/gcc/testsuite/c-c++-common/fcf-protection-6.c
    trunk/gcc/testsuite/c-c++-common/fcf-protection-7.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/fcf-protection-1.c
    trunk/gcc/testsuite/c-c++-common/fcf-protection-2.c
    trunk/gcc/testsuite/c-c++-common/fcf-protection-3.c
    trunk/gcc/testsuite/c-c++-common/fcf-protection-5.c

Reply via email to