https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99977
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Christophe Lyon <cl...@gcc.gnu.org>: https://gcc.gnu.org/g:beeb01541ae845b445837b873126a7f968b8f654 commit r12-922-gbeeb01541ae845b445837b873126a7f968b8f654 Author: Christophe Lyon <christophe.l...@linaro.org> Date: Wed May 19 14:45:54 2021 +0000 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.l...@linaro.org> PR target/99977 gcc/testsuite/ * gcc.target/arm/pr99977.c: Require arm_arch_v8m_base.