diff options
| author | Christophe Lyon <christophe.lyon@linaro.org> | 2021-05-19 14:45:54 +0000 | 
|---|---|---|
| committer | Christophe Lyon <christophe.lyon@linaro.org> | 2021-05-19 14:45:54 +0000 | 
| commit | beeb01541ae845b445837b873126a7f968b8f654 (patch) | |
| tree | 9b2e45f2b3fd7b671874966a629a0393f7fa72c9 /gcc/errors.c | |
| parent | 1e6648076498a4644aabbfe3ec74b3b2a5b67772 (diff) | |
| download | gcc-beeb01541ae845b445837b873126a7f968b8f654.zip gcc-beeb01541ae845b445837b873126a7f968b8f654.tar.gz gcc-beeb01541ae845b445837b873126a7f968b8f654.tar.bz2  | |
arm/testsuite: Fix testcase for PR99977
Some targets (eg arm-none-uclinuxfdpiceabi) do not support Thumb-1,
and since the testcase forces -march=armv8-m.base, we need to check
whether this option is actually supported.
Using dg-add-options arm_arch_v8m_base ensure that we pass -mthumb as
needed too.
2021-05-19  Christophe Lyon  <christophe.lyon@linaro.org>
	PR target/99977
	gcc/testsuite/
	* gcc.target/arm/pr99977.c: Require arm_arch_v8m_base.
Diffstat (limited to 'gcc/errors.c')
0 files changed, 0 insertions, 0 deletions
