testsuite: [arm/cde] Include arm_cde.h and arm_mve.h in arm_v8*m_main_cde*
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Apr 2020 13:50:36 +0000 (13:50 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Apr 2020 13:56:51 +0000 (13:56 +0000)
commite6474e22b212df3201127b1831d76c98dcdfaff3
tree0342878f35d338d51f45990052adcf7fcd994c27
parent55ba33ccd3890036c5bc0b62b279a6d103da7d99
testsuite: [arm/cde] Include arm_cde.h and arm_mve.h in arm_v8*m_main_cde*

Since arm_cde.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*m_main_cde* effective targets, otherwise we can decide CDE is
supported while it's not really (all tests that use arm_v8m_main_cde*
also include arm_cde.h aynway).

Similarly for the effective targets that also require MVE.

This makes several tests unsupported rather than fail.

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

gcc/testsuite/
* lib/target-supports.exp (arm_v8m_main_cde, arm_v8m_main_cde_fp)
(arm_v8_1m_main_cde_mve, arm_v8_1m_main_cde_mve_fp): Include
arm_cde.h and arm_mve.h as ineeded.
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp