]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arm: add -mno-long-calls to epilog-1
authorAlexandre Oliva <oliva@adacore.com>
Wed, 25 Mar 2026 09:45:30 +0000 (06:45 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 25 Mar 2026 09:45:30 +0000 (06:45 -0300)
ARM test epilog-1.c needs -mno-long-calls to match the expected asm
outputs on targets that default to -mlong-calls.

for  gcc/testsuite/ChangeLog

* gcc.target/arm/epilog-1.c: Add -mno-long-calls.

gcc/testsuite/gcc.target/arm/epilog-1.c

index a1516456460698f5030616e759bd12d721e736a3..70aa12c63ff6411644a0b6a167849fd403aed068 100644 (file)
@@ -1,6 +1,6 @@
 /* Register liveness information from epilgoue enables peephole optimization. */
 /* { dg-do compile } */
-/* { dg-options "-mthumb -Os" } */
+/* { dg-options "-mthumb -Os -mno-long-calls" } */
 /* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-final { check-function-bodies "**" "" } } */