Don't pass x86-only options on non-x86 targets in c-c++-common/fcf-protection-[67...
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 6 Feb 2018 23:31:09 +0000 (23:31 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 6 Feb 2018 23:31:09 +0000 (23:31 +0000)
commit216c32f93f8be06686a210ab4ee084fcee3a07e6
tree445d1c47a7a943f849602ec4ef9f11b09fca720b
parent486a2b66f0341c646b6df30e2bce6d7298305933
Don't pass x86-only options on non-x86 targets in c-c++-common/fcf-protection-[67].c (PR testsuite/84243)

PR testsuite/84243
* c-c++-common/fcf-protection-6.c: Only pass -mshstk on x86
targets.
* c-c++-common/fcf-protection-7.c: Likewise for -mibt.

From-SVN: r257432
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/fcf-protection-6.c
gcc/testsuite/c-c++-common/fcf-protection-7.c