Use -fcf-protection=return in cet-intrin-4.c
commite9ca398c158cf54bfc9f60167dc108f72e8837b1
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Feb 2018 10:49:53 +0000 (7 10:49 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Feb 2018 10:49:53 +0000 (7 10:49 +0000)
treebc896804b26a795cb2db1663b8406460799c5bff
parentf083e97748d9a10c9eb0f228bf10ada12647a04e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257445 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/cet-intrin-4.c