https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98931
--- Comment #16 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:71b8ed7c61bc6f80df41f9aa3cf9eb57fb664e77 commit r11-7211-g71b8ed7c61bc6f80df41f9aa3cf9eb57fb664e77 Author: Christophe Lyon <christophe.l...@linaro.org> Date: Fri Feb 12 14:14:45 2021 +0000 testsuite, arm: Add -mthumb to pr98931.c [PR target/98931] This test forces -march=armv8.1-m.main, which supports only Thumb mode. However, if the toolchain is not configured --with-thumb, the test fails with: error: target CPU does not support ARM mode Adding -mthumb to dg-options fixes the problem. 2021-02-12 Christophe Lyon <christophe.l...@linaro.org> PR target/98931 gcc/testsuite/ * gcc.target/arm/pr98931.c: Add -mthumb