[PATCH][GCC][AARCH64] Add effective-target check to b key execution tests
authorSam Tebbs <sam.tebbs@arm.com>
Fri, 9 Aug 2019 14:11:54 +0000 (14:11 +0000)
committerSam Tebbs <samtebbs@gcc.gnu.org>
Fri, 9 Aug 2019 14:11:54 +0000 (14:11 +0000)
commit9c4cb8615fc71a117c00844fd608ae6788acfd92
treef75cceaf4fac899843aadd92b29a32da7e4527ff
parent33e8e0ee4cd185f5073546fed2199c6ec76933ca
[PATCH][GCC][AARCH64] Add effective-target check to b key execution tests

gcc/testsuite
2019-08-09  Sam Tebbs<sam.tebbs@arm.com>

* lib/target-supports.exp
(check_effective_target_arm_v8_4a_bkey_directive): New proc.
* g++.target/aarch64/return_address_sign_b_exception.C,
return_address_sign_ab_exception.C: Add dg-require-effective-target
checks.

From-SVN: r274236
gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/aarch64/return_address_sign_ab_exception.C
gcc/testsuite/g++.target/aarch64/return_address_sign_b_exception.C
gcc/testsuite/lib/target-supports.exp