https://gcc.gnu.org/g:d3d05d0df6cb11e027f1aaf8bcec586b099aba17
commit r16-6951-gd3d05d0df6cb11e027f1aaf8bcec586b099aba17 Author: Alexandre Oliva <[email protected]> Date: Wed Jan 21 00:30:20 2026 -0300 testsuite: arm: thumb2-pop-loreg needs explicit -mthumb If the default CPU under testing merely supports Thumb2, but doesn't default to it, thumb2-pop-loreg.c fails because the expected pop instruction won't be found. Enable -mthumb explicitly. for gcc/testsuite/ChangeLog * gcc.target/arm/thumb2-pop-loreg.c: Enable -mthumb. Diff: --- gcc/testsuite/gcc.target/arm/thumb2-pop-loreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/thumb2-pop-loreg.c b/gcc/testsuite/gcc.target/arm/thumb2-pop-loreg.c index c8397f64318f..1284a4d72f8d 100644 --- a/gcc/testsuite/gcc.target/arm/thumb2-pop-loreg.c +++ b/gcc/testsuite/gcc.target/arm/thumb2-pop-loreg.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target arm_thumb2_ok } */ -/* { dg-options "-Os" } */ +/* { dg-options "-Os -mthumb" } */ int __attribute__((noinline)) f (void) {
