diff --git a/gcc/testsuite/gcc.target/arm/memset-inline-2.c b/gcc/testsuite/gcc.target/arm/memset-inline-2.c
index b8195cab8a67c56643fa3a58a9ad0f88282733d4..ba1f7ed1f1e357bc3cd04424948f523a0f082435 100644
--- a/gcc/testsuite/gcc.target/arm/memset-inline-2.c
+++ b/gcc/testsuite/gcc.target/arm/memset-inline-2.c
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-save-temps -Os -fno-inline" } */
+/* { dg-options "-save-temps -Os -fno-inline -mno-long-calls" } */
 
 #include <string.h>
 #include <stdlib.h>
diff --git a/gcc/testsuite/gcc.target/arm/pr78255-2.c b/gcc/testsuite/gcc.target/arm/pr78255-2.c
index cc1c1801c37ee103da90df940a673ceeac2772ed..fd379aecf9c7583952f20998524d6e7fb9825012 100644
--- a/gcc/testsuite/gcc.target/arm/pr78255-2.c
+++ b/gcc/testsuite/gcc.target/arm/pr78255-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" }  */
+/* { dg-options "-O2 -mno-long-calls" }  */
 
 extern int bar (void *);