https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99977
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Christophe Lyon <cl...@gcc.gnu.org>: https://gcc.gnu.org/g:c412100235ba34ae9c133fb7a77cc52c2e93fc87 commit r11-8435-gc412100235ba34ae9c133fb7a77cc52c2e93fc87 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.