testsuite: [arm/mve] Include arm_mve.h in arm_v8_1m_mve_ok
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Apr 2020 13:53:29 +0000 (13:53 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Apr 2020 13:56:51 +0000 (13:56 +0000)
commit55ba33ccd3890036c5bc0b62b279a6d103da7d99
tree793c11fd3db6069eccca8b10b9dab155465a9533
parent90d6f07c0157d90dd2b5eaeff08f7a4706cac83a
testsuite: [arm/mve] Include arm_mve.h in arm_v8_1m_mve_ok

Since arm_mve.h includes stdint.h, its use requires the presence of
the right gnu/stub-*.h, so make sure to include it when checking the
arm_v8_1m_mve_ok_nocache effective target, otherwise we can decide MVE
is supported while it's not really. This makes several tests
unsupported rather than fail.

2020-04-22  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_arm_v8_1m_mve_ok_nocache): Include
arm_mve.h.
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp