From 115e4bf54ec91a4f358a9e68dcd7a234b0ccc5b8 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Fri, 6 Dec 2024 15:59:25 +0000 Subject: [PATCH] arm,testsuite: Add -mtune=cortex-m55 to dlstp-int8x16.c Like dlstp-compile-asm-1.c, this test would fail if GCC is configured with non-default options, such as -mtune=cortex-a9. Force -mtune=cortex-m55 to avoid this unexpected issue. gcc/testsuite/ChangeLog: * gcc.target/arm/mve/dlstp-int8x16.c: Add -mtune=cortex-m55 --- gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c index d5f22b50262..8ec0a57a783 100644 --- a/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c +++ b/gcc/testsuite/gcc.target/arm/mve/dlstp-int8x16.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { arm*-*-* } } } */ /* { dg-require-effective-target arm_v8_1m_mve_ok } */ -/* { dg-options "-O2 -save-temps" } */ +/* { dg-options "-O2 -save-temps -mtune=cortex-m55" } */ /* { dg-add-options arm_v8_1m_mve } */ #include