Use -fcf-protection=return in cet-intrin-4.c
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 7 Feb 2018 10:49:53 +0000 (10:49 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 7 Feb 2018 10:49:53 +0000 (02:49 -0800)
commit81b58bfd0b0fba2b00a04012ff60135f12036045
treebc896804b26a795cb2db1663b8406460799c5bff
parent6ad05bcc3e3c5f80fac077423dd222cf850f9096
Use -fcf-protection=return in cet-intrin-4.c

Since -fcf-protection requires both -mshstk and -mibt, use
-fcf-protection=return with -mshstk in cet-intrin-4.c.

PR target/84243
* gcc.target/i386/cet-intrin-4.c (dg-options): Use
-fcf-protection=return.

From-SVN: r257445
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/cet-intrin-4.c