PR78353: Fix testcases
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 24 Feb 2020 13:01:52 +0000 (13:01 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 24 Feb 2020 13:04:02 +0000 (13:04 +0000)
commite03069be127cbc9d134d3f6b3c41461fed630444
tree78b0a2d6acdfbbf99070e7924f22340a02aa5ff7
parent3841739c29a54c0141c3156cdd47891c258b2b88
PR78353: Fix testcases

Skip the test if arm7a is not supported at link time. This is the case
if the toolchain targets an M-profile CPU by default and does not have
A-profile multilib: the link step fails because it tries to mix
M-profile startup files with A-profile testcase.

2020-02-24  Christophe Lyon  <christophe.lyon@linaro.org>

PR lto/78353
* gcc.target/arm/pr78353-1.c: Add arm_arch_v7a_multilib effective
target.
* gcc.target/arm/pr78353-2.c: Likewise.
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr78353-1.c
gcc/testsuite/gcc.target/arm/pr78353-2.c