https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121511
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org>: https://gcc.gnu.org/g:11e8671365a5464d28b62dd85b740fe9bfdca3e1 commit r16-3199-g11e8671365a5464d28b62dd85b740fe9bfdca3e1 Author: Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org> Date: Thu Aug 14 08:07:15 2025 +0200 testsuite: Fix asm-hard-reg-error-3.c for arm [PR121511] This test is about register pairs. On arm a long long is accepted in thumb mode in any register 0-6 whereas in arm mode this is restricted to even register pairs. Thus, in order to trigger the error even if gcc is configured with --with-mode=thumb, add option -marm. gcc/testsuite/ChangeLog: PR target/121511 * gcc.dg/asm-hard-reg-error-3.c: Add additional option -marm for target arm.